I've ty to build rom on a other Machine with RH9
Le mar 13/04/2004 à 15:47, Stefan Reinauer a écrit :
- Mathieu Deschamps mdeschamps@mangrove-systems.com [040409 15:53]:
I've read several documentation on LinuxBios and related projects, though I didn't find out a LinuxBios requirements "true" paper. I still have the 2.4.xx kernel compiling oriented
slab
that is to say : GNU Make 3.77, ECGS 1.1.2 (GCC 2.91.66), Binutils 2.10, util-linux 2.10.
egcs is pretty much outdated. I've been using: make-3.80-179 gcc-3.3.3-33 binutils-2.15.90.0.1.1-30 util-linux-2.12-59 python-2.3.3-65
But I just dipose: make -3.79.1 gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5) bintutils version 2.13.90.0.1 util-linux-2.11y Python 2.2.2
I got this output : ###################################################################### cp /home/root/projet/freebios/freebios2/src/arch/i386/config/crt0.base crt0.S gcc -no-gcc -x assembler-with-cpp -DASSEMBLY -E -I/home/root/projet/freebios/freebios2/src -D__ROMCC__=0 -D__ROMCC_MINOR__=38 -I/home/root/projet/freebios/freebios2/src/include -I/home/root/projet/freebios/freebios2/src/arch/i386/include -I -DARCH='i386' -DCROSS_COMPILE -DCC='gcc' -DHOSTCC='gcc' -DOBJCOPY='objcopy' -DLINUXBIOS_VERSION='1.1.6' -DLINUXBIOS_BUILD='mer avr 14 09:46:21 CEST 2004' -DLINUXBIOS_COMPILE_TIME='09:46:21' -DLINUXBIOS_COMPILE_BY='root' -DLINUXBIOS_COMPILE_HOST='Calliphara' -DLINUXBIOS_COMPILE_DOMAIN -DLINUXBIOS_COMPILER='version gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5)' -DLINUXBIOS_LINKER='GNU ld version 2.13.90.0.18 20030206' -DLINUXBIOS_ASSEMBLER='Version de l'assembleur GNU 2.13.90.0.18 (i386-redhat-linux) utilisant la version BFD 2.13.90.0.18 20030206' -DHAVE_FALLBACK_BOOT='1' -DROM_IMAGE_SIZE='0x10000' -DPAYLOAD_SIZE='0x10000' -D_ROMBASE='0xffff0000' -D_RESET='0xffff0000' -D_EXCEPTION_VECTORS='0xffff0100' -DSTACK_SIZE='0x4000' -DHEAP_SIZE='0x8000' -D_RAMBASE='0x4000' -DCONFIG_COMPRESS='1' -DCONFIG_UNCOMPRESSED='0' -DCONFIG_LB_MEM_TOPK='1024' -DHAVE_OPTION_TABLE='1' -DUSE_OPTION_TABLE='0' -DLB_CKS_RANGE_START='49' -DLB_CKS_RANGE_END='125' -DLB_CKS_LOC='126' -DCRT0='/home/root/projet/freebios/freebios2/src/arch/i386/config/crt0.base' -DDEBUG='1' -DCONFIG_CONSOLE_VGA='1' -DCONFIG_CONSOLE_LOGBUF='0' -DCONFIG_CONSOLE_SROM='0' -DCONFIG_CONSOLE_SERIAL8250='1' -DDEFAULT_CONSOLE_LOGLEVEL='7' -DMAXIMUM_CONSOLE_LOGLEVEL='7' -DCONFIG_SERIAL_POST='1' -DTTYS0_BASE='0x3f8' -DTTYS0_BAUD='19200' -DTTYS0_LCS='0x3' -DMAINBOARD='/home/root/projet/freebios/freebios2/src/mainboard/via/epia' -DMAINBOARD_PART_NUMBER='epia' -DMAINBOARD_VENDOR='via' -DCONFIG_SMP='0' -DCONFIG_MAX_CPUS='1' -DCONFIG_MAX_PHYSICAL_CPUS='1' -DCONFIG_LOGICAL_CPUS='0' -DCONFIG_IDE_STREAM='0' -DCONFIG_ROM_STREAM='1' -DCONFIG_ROM_STREAM_START='0xfffe0000' -DCONFIG_FS_STREAM='0' -DCONFIG_FS_EXT2='0' -DCONFIG_FS_ISO9660='0' -DCONFIG_FS_FAT='0' -DAUTOBOOT_DELAY='2' -DAUTOBOOT_CMDLINE='"hdc1:/vmlinuz root=/dev/hdc3 console=tty0 console=ttyS0,115200"' -DCONFIG_IDE='1' -DIDE_BOOT_DRIVE='0' -DIDE_OFFSET='0' -DHARD_RESET_BUS='1' -DHARD_RESET_DEVICE='5' -DHARD_RESET_FUNCTION='0' -DMAX_RE! BOOT_CNT='10' -DFAKE_SPDROM='0' -DHAVE_ACPI_TABLES='0' -DCONFIG_CHIP_CONFIGURE='1' -DCPU_FIXUP='1' -DCONFIG_UDELAY_TSC='0' -Di686='1' -Di586='1' -DINTEL_PPRO_MTRR='1' -DROM_SIZE='0x40000' -DFALLBACK_SIZE='0x20000' -DUSE_FALLBACK_IMAGE='1' -DLINUXBIOS_EXTRA_VERSION='.0Fallback' -DHAVE_MP_TABLE='0' -DHAVE_HARD_RESET='1' -DHAVE_PIRQ_TABLE='1' -DIRQ_SLOT_COUNT='5' -DROM_SECTION_SIZE='0x20000' -DROM_SECTION_OFFSET='0x20000' -DXIP_ROM_SIZE='0x10000' -DXIP_ROM_BASE='0xffff0000' /home/root/projet/freebios/freebios2/src/mainboard/via/epia/failover.c > ./failover.E #*#/bin/sh: -c: line 1: syntax error near unexpected token `(' #*#/bin/sh: -c: line 1: `gcc -no-gcc -x assembler-with-cpp -DASSEMBLY -E -I/home/root/projet/freebios/freebios2/src -D__ROMCC__=0 -D__ROMCC_MINOR__=38 -I/home/root/projet/freebios/freebios2/src/include -I/home/root/projet/freebios/freebios2/src/arch/i386/include -I -DARCH='i386' -DCROSS_COMPILE -DCC='gcc' -DHOSTCC='gcc' -DOBJCOPY='objcopy' -DLINUXBIOS_VERSION='1.1.6' -DLINUXBIOS_BUILD='mer avr 14 09:46:21 CEST 2004' -DLINUXBIOS_COMPILE_TIME='09:46:21' -DLINUXBIOS_COMPILE_BY='root' -DLINUXBIOS_COMPILE_HOST='Calliphara' -DLINUXBIOS_COMPILE_DOMAIN -DLINUXBIOS_COMPILER='version gcc 3.2.2 20030222 (Red Hat Linux 3.2.2-5)' -DLINUXBIOS_LINKER='GNU ld version 2.13.90.0.18 20030206' -DLINUXBIOS_ASSEMBLER='Version de l'assembleur GNU 2.13.90.0.18 (i386-redhat-linux) utilisant la version BFD 2.13.90.0.18 20030206' -DHAVE_FALLBACK_BOOT='1' -DROM_IMAGE_SIZE='0x10000' -DPAYLOAD_SIZE='0x10000' -D_ROMBASE='0xffff0000' -D_RESET='0xffff0000' -D_EXCEPTION_VECTORS='0xffff0100' -DSTACK_SIZE='0x4000' -DHEAP_SIZE='0x8000' -D_RAMBASE='0x4000' -DCONFIG_COMPRESS='1' -DCONFIG_UNCOMPRESSED='0' -DCONFIG_LB_MEM_TOPK='1024' -DHAVE_OPTION_TABLE='1' -DUSE_OPTION_TABLE='0' -DLB_CKS_RANGE_START='49' -DLB_CKS_RANGE_END='125' -DLB_CKS_LOC='126' -DCRT0='/home/root/projet/freebios/freebios2/src/arch/i386/config/crt0.base' -DDEBUG='1' -DCONFIG_CONSOLE_VGA='1' -DCONFIG_CONSOLE_LOGBUF='0' -DCONFIG_CONSOLE_SROM='0' -DCONFIG_CONSOLE_SERIAL8250='1' -DDEFAULT_CONSOLE_LOGLEVEL='7' -DMAXIMUM_CONSOLE_LOGLEVEL='7' -DCONFIG_SERIAL_POST='1' -DTTYS0_BASE='0x3f8' -DTTYS0_BAUD='19200' -DTTYS0_LCS='0x3' -DMAINBOARD='/home/root/projet/freebios/freebios2/src/mainboard/via/epia' -DMAINBOARD_PART_NUMBER='epia' -DMAINBOARD_VENDOR='via' -DCONFIG_SMP='0' -DCONFIG_MAX_CPUS='1' -DCONFIG_MAX_PHYSICAL_CPUS='1' -DCONFIG_LOGICAL_CPUS='0' -DCONFIG_IDE_STREAM='0' -DCONFIG_ROM_STREAM='1' -DCONFIG_ROM_STREAM_START='0xfffe0000' -DCONFIG_FS_STREAM='0' -DCONFIG_FS_EXT2='0' -DCONFIG_FS_ISO9660='0' -DCONFIG_FS_FAT='0' -DAUTOBOOT_DELAY='2' -DAUTOBOOT_CMDLINE='"hdc1:/vmlinuz root=/dev/hdc3 console=tty0 console=ttyS0,115200"' -DCONFIG_IDE='1' -DIDE_BOOT_DRIVE='0' -DIDE_OFFSET='0' -DHARD_RESET_BUS='1' -DHARD_RESET_DEVICE='5' -DHARD_RESET_FUNCTION='0' -DMAX_RE! BOOT_CNT='10' -DFAKE_SPDROM='0' -DHAVE_ACPI_TABLES='0' -DCONFIG_CHIP_CONFIGURE='1' -DCPU_FIXUP='1' -DCONFIG_UDELAY_TSC='0' -Di686='1' -Di586='1' -DINTEL_PPRO_MTRR='1' -DROM_SIZE='0x40000' -DFALLBACK_SIZE='0x20000' -DUSE_FALLBACK_IMAGE='1' -DLINUXBIOS_EXTRA_VERSION='.0Fallback' -DHAVE_MP_TABLE='0' -DHAVE_HARD_RESET='1' -DHAVE_PIRQ_TABLE='1' -DIRQ_SLOT_COUNT='5' -DROM_SECTION_SIZE='0x20000' -DROM_SECTION_OFFSET='0x20000' -DXIP_ROM_SIZE='0x10000' -DXIP_ROM_BASE='0xffff0000' /home/root/projet/freebios/freebios2/src/mainboard/via/epia/failover.c > ./failover.E' make: *** [failover.E] Erreur 2 ######################################################################### first the make process now recognize the make functions (it seems anyway)
but second, I still have these errors, it seems like a bad parse isn't it ? Make v3.79 isn't good enough ?
/bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `gcc -no-gcc -x assembler-with-cpp -DASSEMBLY -E
Note : I've step deeper into fallback directory where make echo does this error which is correlate to the upper one :
#######################################################" . . . HAVE_ACPI_TABLES=0 HAVE_FALLBACK_BOOT=1 HAVE_HARD_RESET=1 HAVE_MP_TABLE=0 HAVE_OPTION_TABLE=1 HAVE_PIRQ_TABLE=1 HEAP_SIZE=0x8000 HOSTCC=gcc IDE_BOOT_DRIVE=0 IDE_OFFSET=0 IDE_SWAB= INTEL_PPRO_MTRR=1 IRQ_SLOT_COUNT=5 ISA_IO_BASE= ISA_MEM_BASE= LB_CKS_LOC=126 LB_CKS_RANGE_END=125 LB_CKS_RANGE_START=49 /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `echo LINUXBIOS_ASSEMBLER='Version de l'assembleur GNU 2.13.90.0.18 (i386-redhat-linux) utilisant la version BFD 2.13.90.0.18 20030206'' make: *** [echo] Erreur 2 ####################################################################"
Makefile.settings export :
export LINUXBIOS_ASSEMBLER:=$(shell touch dummy.s ; $(CC) -c -Wa,-v dummy.s 2>&1; rm -f dummy.s dummy.o )
well Ron ...I've got another one :) there must be another way to gain gcc -Wa version ... :/
Also I had a quite old python version (1.1 or so), i got it updated
to 2.2.3 when I've seen the python script insulted me while running buildtarget.
Anything older than 2.1 won't work.
endly, I get confused Stefan : you said you made it with python-2.3.3-65 and then you said "Anything older than 2.1 won't work." I must have dropped the purse before the coin would:)
* Mathieu Deschamps mdeschamps@mangrove-systems.com [040414 12:05]:
I've ty to build rom on a other Machine with RH9
try switching the language to english before building: export LANG=""
endly, I get confused Stefan : you said you made it with python-2.3.3-65 and then you said "Anything older than 2.1 won't work." I must have dropped the purse before the coin would:)
yes. 2.3.3 is newer than 2.1. Anything older than 2.1 won't work. Where's the problem?
Stefan