compile error

Fathi BOUDRA fboudra at uxp.fr
Mon Feb 16 10:56:00 CET 2004


Hi,

I'm a newbie on linuxbios so i followed the howto.
But when i arrived to run the make command :

debfat:~/dev/freebios/util/config/winfast# make
Makefile:517: attention : écrasement des commandes pour la cible « keyboard.o 
»
Makefile:421: attention : anciennes commandes ignorées pour la cible « 
keyboard.o »
cp /root/dev/freebios/src/arch/i386/config/crt0.base crt0.S
gcc -x assembler-with-cpp -DASSEMBLY -E ... crt0.S > crt0.s
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `gcc -x assembler-with-cpp -DASSEMBLY -E 
-I/root/dev/freebios/src/include -I/root/dev/freebios/src/arch/i386/include 
-I -DCC='gcc' -DCMD_LINE='"root=/dev/hda1 console=ttyS0,115200 console=tty0 
video=sisfb:1024x768-32 at 85,font:VGA8x16"' -DCONFIGURE_L2_CACHE='1' 
-DCONFIG_ASSIGNIRQ='0' -DCONFIG_COMPRESS='1' -DCONFIG_LOGICAL_CPUS='1' 
-DCONFIG_MC146818RTC='1' -DCONFIG_PCIBIOS_IRQ='0' 
-DCONFIG_TSC_X86RDTSC_CALIBRATE_WITH_TIMER2='0' -DCONFIG_UNCOMPRESSED='0' 
-DCRT0='/root/dev/freebios/src/arch/i386/config/crt0.base' 
-DENABLE_FIXED_AND_VARIABLE_MTRRS='1' -DENABLE_SIS630_CPU_PIPELINE='1' 
-DFINAL_MAINBOARD_FIXUP='1' -DHAVE_FRAMEBUFFER='1' -DHAVE_PIRQ_TABLE='1' 
-DHEAP_SIZE='0x40000' -DHOSTCC='gcc' -DINTEL_PPRO_MTRR='1' 
-DLINUXBIOS_ASSEMBLER='Version de l'assembleur GNU 2.14.90.0.7 (i386-linux) 
utilisant la version BFD 2.14.90.0.7 20031029 Debian GNU/Linux' 
-DLINUXBIOS_BUILD='lun fév 16 16:58:23 CET 2004' 
-DLINUXBIOS_COMPILER='version gcc 3.3.3 20040214 (prerelease) (Debian)' 
-DLINUXBIOS_COMPILE_BY='root' -DLINUXBIOS_COMPILE_DOMAIN 
-DLINUXBIOS_COMPILE_HOST='debfat' -DLINUXBIOS_COMPILE_TIME='16:58:23' 
-DLINUXBIOS_LINKER='GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux' 
-DLINUXBIOS_VERSION='1.0.0' -DMAINBOARD_PART_NUMBER='winfast6300' 
-DMAINBOARD_VENDOR='leadtek' -DMAX_CPUS='1' -DMEMORY_HOLE='1' 
-DOBJCOPY='objcopy' -DPAYLOAD_SIZE='458752' -DROM_IMAGE_SIZE='65536' 
-DSERIAL_CONSOLE='1' -DSIS630='1' -DSMA_SIZE='0xA0' -DSTACK_SIZE='0x2000' 
-DUPDATE_MICROCODE='1' -DUSE_DOC='1' -DUSE_DOC_2000_TSOP='0' 
-DUSE_DOC_MIL='1' -DUSE_NEW_SUPERIO_INTERFACE='1' -D_RAMBASE='0x4000' 
-D_ROMBASE='0x80000' -Di586='1' -Di686='1' -I/root/dev/freebios/src  crt0.S > 
crt0.s.new && mv crt0.s.new crt0.s'
make: *** [crt0.s] Erreur 2

is there a problem with the version of software i use ? (gcc 3.3.3, python, 
perl, shell,...)
Maybe i need to have a redhat 6.2 ?
I think it's a common problem but don't find anything on the mailling list.

when i change in the Makefile, the line :
D_item = $(if $(subst undefined,,$(origin $1)),-D$1$(if $($1),='$($1)',),-U$1)
by
D_item = $(if $(subst undefined,,$(origin $1)),-D$1$(if $($1),="$($1)",),-U$1)

i've got :
debfat:~/dev/freebios/util/config/winfast# make
Makefile:517: attention : écrasement des commandes pour la cible « keyboard.o 
»
Makefile:421: attention : anciennes commandes ignorées pour la cible « 
keyboard.o »
cp /root/dev/freebios/src/arch/i386/config/crt0.base crt0.S
gcc -x assembler-with-cpp -DASSEMBLY -E ... crt0.S > crt0.s
gcc: console=ttyS0,115200 : Aucun fichier ou répertoire de ce type
gcc: console=tty0 : Aucun fichier ou répertoire de ce type
gcc: video=sisfb:1024x768-32 at 85,font:VGA8x16 : Aucun fichier ou répertoire de 
ce type
make: *** [crt0.s] Erreur 1

if someone have an idea ...

best regards

fathi




More information about the coreboot mailing list