Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#6518 closed bug (invalid)

[Build System] gcc2 build is broken

Reported by: diver Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

C++ /home/haiku/trunk/generated.x86gcc2/objects/haiku/x86/release/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.o 
In file included from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.h:46, 
                 from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.cpp:38: 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:142: warning: invalid character in macro parameter name 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:142: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:147: warning: invalid character in macro parameter name 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:147: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:148: warning: invalid character in macro parameter name 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:148: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:149: warning: invalid character in macro parameter name 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/sysctl.h:149: badly punctuated parameter list in `#define' 
In file included from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/malloc.h:12, 
                 from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/vm/uma.h:10, 
                 from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/mbuf.h:12, 
                 from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.cpp:42: 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/vm/vm.h:21: warning: invalid character in macro parameter name 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/vm/vm.h:21: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/vm/vm.h:22: warning: invalid character in macro parameter name 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/vm/vm.h:22: badly punctuated parameter list in `#define' 
In file included from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/net/if_var.h:81, 
                 from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/net/if.h:115, 
                 from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.cpp:46: 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/eventhandler.h:89: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat/sys/eventhandler.h:112: badly punctuated parameter list in `#define' 
In file included from /home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.cpp:51: 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_var.h:902: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_var.h:903: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_var.h:904: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_var.h:905: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_var.h:909: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_var.h:910: badly punctuated parameter list in `#define' 
/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_var.h:911: badly punctuated parameter list in `#define' 
 
/home/haiku/trunk/generated.x86gcc2/cross-tools/bin/i586-pc-haiku-gcc -c "/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.cpp" -O -Wall -Wno-trigraphs -Wno-multichar -nostdinc -march=pentium -D_KERNEL=1 -DFBSD_DRIVER=1 -Wno-format -Wno-unused -Wno-uninitialized -D_ZETA_USING_DEPRECATED_API_=1 -D_ZETA_TS_FIND_DIR_=1 -finline -fno-builtin -fno-exceptions -march=pentium -D_KERNEL_MODE -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_OFFICIAL -D__INTEL__ -DARCH_x86 -DBOOT_ARCHIVE_IMAGE_OFFSET=300 -DB_USE_BUILTIN_ATOMIC_FUNCTIONS -DHAIKU_INCLUDE_PATENTED_CODE=0 -D_BEOS_R5_COMPATIBLE_ -DHAIKU_TARGET_PLATFORM_HAIKU -I/home/haiku/trunk/build/user_config_headers -I/home/haiku/trunk/build/config_headers -I/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211 -I/home/haiku/trunk/generated.x86gcc2/objects/common/libs/compat/freebsd_wlan/net80211 -I/home/haiku/trunk/generated.x86gcc2/objects/linux/x86/common/libs/compat/freebsd_wlan/net80211 -I/home/haiku/trunk/generated.x86gcc2/objects/haiku/x86/common/libs/compat/freebsd_wlan/net80211 -I/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../crypto/rijndael -I- -I/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network -I/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/../../freebsd_network/compat -I/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211/.. -I/home/haiku/trunk/src/libs/compat/freebsd_wlan/net80211 -I/home/haiku/trunk/headers/private/net -I/home/haiku/trunk/headers/private/system -I/home/haiku/trunk/headers/private/. -I/home/haiku/trunk/headers/private/kernel -I/home/haiku/trunk/headers/private/libroot -I/home/haiku/trunk/headers/private/shared -I/home/haiku/trunk/headers/private/kernel/boot/platform/bios_ia32 -I/home/haiku/trunk/headers/private/kernel/arch/x86 -I/home/haiku/trunk/generated.x86gcc2/objects/haiku/x86/common/system/kernel -I/home/haiku/trunk/headers/private/. -I/home/haiku/trunk/headers/private/system -I/home/haiku/trunk/headers/private/system/arch/x86 -I/home/haiku/trunk/headers/cpp -I/home/haiku/trunk/headers/build/gcc-2.95.3 -I/home/haiku/trunk/headers -I/home/haiku/trunk/headers/posix -I/home/haiku/trunk/headers/glibc -I/home/haiku/trunk/headers/os -I/home/haiku/trunk/headers/os/add-ons -I/home/haiku/trunk/headers/os/add-ons/file_system -I/home/haiku/trunk/headers/os/add-ons/graphics -I/home/haiku/trunk/headers/os/add-ons/input_server -I/home/haiku/trunk/headers/os/add-ons/registrar -I/home/haiku/trunk/headers/os/add-ons/screen_saver -I/home/haiku/trunk/headers/os/add-ons/tracker -I/home/haiku/trunk/headers/os/app -I/home/haiku/trunk/headers/os/device -I/home/haiku/trunk/headers/os/drivers -I/home/haiku/trunk/headers/os/game -I/home/haiku/trunk/headers/os/interface -I/home/haiku/trunk/headers/os/kernel -I/home/haiku/trunk/headers/os/locale -I/home/haiku/trunk/headers/os/media -I/home/haiku/trunk/headers/os/mail -I/home/haiku/trunk/headers/os/midi -I/home/haiku/trunk/headers/os/midi2 -I/home/haiku/trunk/headers/os/net -I/home/haiku/trunk/headers/os/opengl -I/home/haiku/trunk/headers/os/storage -I/home/haiku/trunk/headers/os/support -I/home/haiku/trunk/headers/os/translation -I/home/haiku/trunk/headers/private/. -o "/home/haiku/trunk/generated.x86gcc2/objects/haiku/x86/release/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.o" ; 
 
...failed C++ /home/haiku/trunk/generated.x86gcc2/objects/haiku/x86/release/libs/compat/freebsd_wlan/net80211/ieee80211_haiku.o ... 
...skipped libfreebsd_wlan.a for lack of libfreebsd_wlan.a(ieee80211_haiku.o)... 
...skipped aironetwifi for lack of libfreebsd_wlan.a... 
...skipped <HaikuImage>haiku.image-copy-files-dummy-system/add-ons/kernel/drivers/bin for lack of aironetwifi... 
...skipped haiku-diver.vmdk for lack of <HaikuImage>haiku.image-copy-files... 
...failed updating 1 target(s)... 
...skipped 4 target(s)... 
...updated 108 target(s)... 
 

Change History (3)

comment:1 by anevilyak, 14 years ago

Resolution: invalid
Status: newclosed

The gcc2 compiler was recently updated in order to be able to handle precisely this file. You'll need to rebuild your gcc2 cross compiler.

comment:2 by Disreali, 14 years ago

As is stated in hrev38378, you need the newer gcc2 version that was added in hrev38376.

You can get it from here:

http://haiku-files.org/files/optional-packages/gcc-2.95.3-x86-gcc2-2010-08-18.zip

comment:3 by diver, 14 years ago

Thanks. Running

cd haiku/trunk/generated.x86gcc2/
../configure --alternative-gcc-output-dir ../generated.x86gcc4 --build-cross-tools ../../buildtools/ --include-patented-code --use-gcc-pipe --distro-compatibility official

fixed it.

Still no logos in AboutSystem and Installer even with --distro-compatibility official, oh well.

Note: See TracTickets for help on using tickets.