Compile Error while doing make

Thomas Leidenfrost leidenfrost at
Mon Jul 19 08:20:01 CEST 2004


currently I'm using the AW-B651 from ICS, it is very similar to the 
PCM-5823, except the other superio-chip (Winbond M83977EF), I changed 
the Config-File according to this.
Also I removed the option "HAVE_FRAMEBUFFER=1" for the second try, but 
the error-message was very similar to the previous one.

..cp linuxbios_payload.nrv2b linuxbios_payload
echo "INCLUDE ldoptions" > ldscript.ld ; for file in 
/home/thomasle/freebios/src/cpu/i386/ ; do echo "INCLUDE 
$file" >> ldscript.ld ; done
gcc -nostdlib -nostartfiles -static -o linuxbios -T ldscript.ld crt0.o
crt0.o(.rom.text+0x7e): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0x8f): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xa0): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xb1): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xc2): In function `__protected_start':
: undefined reference to `SERIAL_SUPERIO_BASEADDRESS'
crt0.o(.rom.text+0xd3): more undefined references to 
collect2: ld returned 1 exit status
make: *** [linuxbios] Error 1

Anyway, thanks @David for your advice, but I'm an absolutely novice 
without any idea of your intention, neither was it pcituils nor where to 
get it or how to use it. So I think I want to make it work anyway and 
then comes the fine-tuning.

Thx, Tom

David Aubin wrote:
> Hi Again,
>   Just out of curiosity I poked around again and I don't think the
> PCM-5823 has
> support for the frame buffering.  You could try VGA bios/testbios to get
> your
> card to initialize.  You'll need pcituils to compile it, but it should
> work.
> Dave
> On Mon, 2004-07-19 at 08:13, Thomas Leidenfrost wrote:
>>after using the config-file from the Advantech PCM-5823 and adding the 
>>option "HAVE_FRAMEBUFFER=1" in the config-file I got this Errormessage: 
>>(kernelpath set to systemkernel 2.6.7)
>>holodoc:/home/thomasle/Desktop/awb651 # make
>>gcc -x assembler-with-cpp -DASSEMBLY -E ... crt0.S > crt0.s
>>gcc ... -o crt0.o crt0.s
>>crt0.S: Assembler messages:
>>crt0.S:156: Warning: indirect jmp without `*'
>>gcc ... -o version.o /home/thomasle/freebios/src/lib/version.c
>>gcc ... -o mainboard.o 
>>gcc ... -o irq_tables.o 
>>rm -f linuxbios.a
>>ar cr linuxbios.a  linuxbiosmain.o linuxpci.o newpci.o clog2.o printk.o 
>>serial_subr.o subr.o vsprintf.o memset.o memcpy.o memcmp.o malloc.o 
>>elfboot.o do_inflate.o delay.o compute_ip_checksum.o version.o 
>>keyboard.o mc146818rtc.o isa-dma.o ide.o boot.o linuxbios_table.o 
>>i386_subr.o params.o hardwaremain.o pirq_routing.o c_start.o cpuid.o 
>>delay_tsc.o northbridge.o southbridge.o superio_SMC_fdc37b72x.o 
>>nsuperio.o mainboard.o irq_tables.o
>>gcc -nostdlib -r -o linuxbios_c.o c_start.o  rom_fill_inbuf.o 
>>linuxbios.a /usr/lib/gcc-lib/i586-suse-linux/3.3.1/libgcc.a
>>perl -e 'foreach $var (split(" ", $ENV{VARIABLES})) { if ($ENV{$var} =~ 
>>m/^(0x[0-9a-fA-F]+|0[0-7]+|[0-9]+)$/) { print "$var = $ENV{$var};\n"; 
>>}}' > ldoptions
>>gcc -nostdlib -nostartfiles -static -o linuxbios_c -T 
>>/home/thomasle/freebios/src/config/linuxbios_c.ld linuxbios_c.o
>>linuxbios_c.o(.text+0xa56): In function `hardwaremain':
>>: undefined reference to `framebuffer_on'
>>collect2: ld returned 1 exit status
>>make: *** [linuxbios_c] Error 1
>>Can anyone give me a hint please? What did I wrong?
>>Thx, Tom
>>Linuxbios mailing list
>>Linuxbios at


Thomas Leidenfrost
Corscience GmbH & Co. KG
Henkestraße 91
91052 Erlangen

Tel: +49-9131-97798635
Fax: +49-9131-97798659
leidenfrost at

More information about the coreboot mailing list