Hi, I can't build the linuxBIOS to my Tyan s2875. I have tried 2 gcc version : 4.0.4 on ubuntu x86_64 and the 4.2.0 on archlinux i686. It's the same error :
gcc -m32 -c -I/home/adrian/LinuxBIOSv2-2728/src/include -I/home/adrian/LinuxBIO Sv2-2728/src/arch/i386/include -I -DARCH='i386' -DHAVE_MOVNTI='1' -DCROSS_COMPIL E -DCC='gcc -m32' -DHOSTCC='gcc' -DOBJCOPY='objcopy --gap-fill 0xff' -DLINUXBIOS _VERSION='"2.0.0"' -DLINUXBIOS_BUILD='"jeudi 21 juin 2007, 18:21:32 (UTC+0200)"' -DLINUXBIOS_COMPILE_TIME='"18:21:32"' -DLINUXBIOS_COMPILE_BY='"adrian"' -DLINUX BIOS_COMPILE_HOST='"opteron"' -DLINUXBIOS_COMPILE_DOMAIN='""' -DLINUXBIOS_COMPIL ER='"version gcc 4.0.3 (Ubuntu 4.0.3-1ubuntu5)"' -DLINUXBIOS_LINKER='"GNU ld ver sion 2.16.91 20060118 Debian GNU/Linux"' -DLINUXBIOS_ASSEMBLER='"assembleur GNU version 2.16.91 (x86_64-linux-gnu) utilisant BFD version 2.16.91 20060118 Debian GNU/Linux"' -DCONFIG_USE_INIT='0' -DHAVE_FALLBACK_BOOT='1' -DHAVE_FAILOVER_BOOT ='0' -DROM_IMAGE_SIZE='0x20000' -DPAYLOAD_SIZE='0x14000' -D_ROMBASE='0xfffa0000' -D_RESET='0xfffa0000' -D_EXCEPTION_VECTORS='0xfffa0100' -DSTACK_SIZE='0x2000' - DHEAP_SIZE='0x4000' -D_RAMBASE='0x4000' -DUSE_DCACHE_RAM='1' -DDCACHE_RAM_BASE=' 0xcf000' -DDCACHE_RAM_SIZE='0x1000' -DDCACHE_RAM_GLOBAL_VAR_SIZE='0x0' -DCONFIG_ AP_CODE_IN_CAR='0' -DMEM_TRAIN_SEQ='0' -DWAIT_BEFORE_CPUS_INIT='0' -DCONFIG_COMP RESS='1' -DCONFIG_UNCOMPRESSED='0' -DCONFIG_LB_MEM_TOPK='2048' -DHAVE_OPTION_TAB LE='1' -DUSE_OPTION_TABLE='1' -DLB_CKS_RANGE_START='49' -DLB_CKS_RANGE_END='122' -DLB_CKS_LOC='123' -DCRT0='/home/adrian/LinuxBIOSv2-2728/src/arch/i386/init/crt 0.S.lb' -DDEBUG='1' -DCONFIG_CONSOLE_VGA='1' -DCONFIG_CONSOLE_VGA_MULTI='0' -DCO NFIG_CONSOLE_VGA_ONBOARD_AT_FIRST='0' -DCONFIG_CONSOLE_BTEXT='0' -DCONFIG_CONSOL E_LOGBUF='0' -DCONFIG_CONSOLE_SROM='0' -DCONFIG_CONSOLE_SERIAL8250='1' -DCONFIG_ USBDEBUG_DIRECT='0' -DDEFAULT_CONSOLE_LOGLEVEL='8' -DMAXIMUM_CONSOLE_LOGLEVEL='8 ' -DCONFIG_SERIAL_POST='0' -DTTYS0_BASE='0x3f8' -DTTYS0_BAUD='115200' -DTTYS0_LC S='0x3' -DCONFIG_USE_PRINTK_IN_CAR='0' -DMAINBOARD='/home/adrian/LinuxBIOSv2-272 8/src/mainboard/tyan/s2875' -DMAINBOARD_PART_NUMBER='"s2875"' -DMAINBOARD_VENDOR ='"Tyan"' -DMAINBOARD_PCI_SUBSYSTEM_VENDOR_ID='4337' -DMAINBOARD_PCI_SUBSYSTEM_D EVICE_ID='0x2875' -DCONFIG_MAX_PCI_BUSES='255' -DCONFIG_SMP='1' -DCONFIG_MAX_CPU S='4' -DCONFIG_MAX_PHYSICAL_CPUS='2' -DCONFIG_LOGICAL_CPUS='1' -DSERIAL_CPU_INIT ='1' -DAPIC_ID_OFFSET='0' -DENABLE_APIC_EXT_ID='0' -DLIFT_BSP_APIC_ID='0' -DCONF IG_IDE_PAYLOAD='0' -DCONFIG_ROM_PAYLOAD='1' -DCONFIG_ROM_PAYLOAD_START='0xfff8c0 00' -DCONFIG_COMPRESSED_PAYLOAD_NRV2B='0' -DCONFIG_COMPRESSED_PAYLOAD_LZMA='0' - DCONFIG_PRECOMPRESSED_PAYLOAD='0' -DCONFIG_SERIAL_PAYLOAD='0' -DCONFIG_FS_PAYLOA D='0' -DCONFIG_FS_EXT2='0' -DCONFIG_FS_ISO9660='0' -DCONFIG_FS_FAT='0' -DAUTOBOO T_DELAY='2' -DAUTOBOOT_CMDLINE='"hdc1:/vmlinuz root=/dev/hdc3 console=tty0 conso le=ttyS0,115200"' -DUSE_WATCHDOG_ON_BOOT='0' -DCONFIG_HYPERTRANSPORT_PLUGIN_SUPP ORT='1' -DCONFIG_AGP_PLUGIN_SUPPORT='1' -DCONFIG_CARDBUS_PLUGIN_SUPPORT='1' -DCO NFIG_PCIX_PLUGIN_SUPPORT='1' -DCONFIG_PCIEXP_PLUGIN_SUPPORT='1' -DCONFIG_IDE='0' -DIDE_BOOT_DRIVE='0' -DIDE_OFFSET='0' -DPCI_IO_CFG_EXT='0' -DCONFIG_CHIP_NAME=' 1' -DHAVE_INIT_TIMER='1' -DMAX_REBOOT_CNT='3' -DFAKE_SPDROM='0' -DHAVE_ACPI_TABL ES='0' -DACPI_SSDTX_NUM='0' -DHT_CHAIN_UNITID_BASE='1' -DHT_CHAIN_END_UNITID_BAS E='32' -DSB_HT_CHAIN_UNITID_OFFSET_ONLY='1' -DSB_HT_CHAIN_ON_BUS0='0' -DPCI_BUS_ SEGN_BITS='0' -DMMCONF_SUPPORT='0' -DHW_MEM_HOLE_SIZEK='1048576' -DHW_MEM_HOLE_S IZE_AUTO_INC='0' -DK8_HT_FREQ_1G_SUPPORT='0' -DK8_REV_F_SUPPORT='0' -DCBB='0' -D CDB='24' -DDIMM_SUPPORT='0x108' -DCPU_SOCKET_TYPE='16' -DCPU_ADDR_BITS='40' -DCO NFIG_PCI_ROM_RUN='1' -DCONFIG_PCI_64BIT_PREF_MEM='0' -DCONFIG_AGESA='0' -DHAVE_M P_TABLE='1' -DHAVE_PIRQ_TABLE='1' -DUSE_FALLBACK_IMAGE='0' -DHAVE_HARD_RESET='1' -DIRQ_SLOT_COUNT='13' -DCONFIG_IOAPIC='1' -DFALLBACK_SIZE='0x40000' -DROM_SIZE= '0x74000' -DROM_SECTION_SIZE='0x34000' -DROM_SECTION_OFFSET='0x0' -DXIP_ROM_SIZE ='0x20000' -DXIP_ROM_BASE='0xfffa0000' -DLINUXBIOS_EXTRA_VERSION='"_Normal"' -DM AINBOARD_POWER_ON_AFTER_POWER_FAIL='MAINBOARD_POWER_ON' -DCONFIG_GDB_STUB='0' -D CONFIG_UDELAY_IO='0' -DUSE_FAILOVER_IMAGE='0' -DCONFIG_UDELAY_TSC='0' -DCONFIG_T SC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' -DAGP_APERTURE_SIZE='0x4000000' -Os -nostd inc -nostdlib -fno-builtin -Wall -o printk.o /home/adrian/LinuxBIOSv2-2728/src/ console/printk.c /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:8:20: erreur: stdarg.h : Aucu n fichier ou répertoire de ce type /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:26: erreur: syntax error befo re «va_list» /home/adrian/LinuxBIOSv2-2728/src/console/printk.c: Dans la fonction «do_printk» : /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:32: erreur: «va_list» undecla red (first use in this function) /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:32: erreur: (Chaque identific ateur non déclaré est rapporté une seule fois /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:32: erreur: pour chaque fonct ion dans laquelle il apparaît.) /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:32: erreur: syntax error befo re «args» /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:41: attention : implicit decl aration of function «va_start» /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:41: erreur: «args» undeclared (first use in this function) /home/adrian/LinuxBIOSv2-2728/src/console/printk.c:43: attention : implicit decl aration of function «va_end» make[1]: *** [printk.o] Erreur 1 make[1]: quittant le répertoire « /home/adrian/LinuxBIOSv2-2728/targets/tyan/s28 75/s2875/normal » make: *** [normal/linuxbios.rom] Erreur 1
PS : I do exactly the same with or without payload