EPIA-M build problem for freebios2

Dan Sully daniel at electricrain.com
Fri Aug 27 09:08:00 CEST 2004

So first of all, it's not clear from any of the outdated documentation
whether one should be using freebios or freebios2.

So, I'm jumping in and trying to use 2 - but getting this error:

ar cr linuxbios.a  malloc.o apic_timer.o pci_ops.o vt8235.o chip.o memset.o fallback_boot.o keyboard.o cpuid.o pnp_device.o printk.o irq_tables.o pgtbl.o tables.o pci_device.o console.o cpufixup.o elfboot.o hardwaremain.o boot.o linuxbios_table.o delay.o version.o memcmp.o isa-dma.o hypertransport.o vtxprintf.o root_device.o mtrr.o uart8250.o device_util.o ./option_table.o compute_ip_checksum.o device.o memcpy.o northbridge.o clog2.o pirq_routing.o memmove.o mc146818rtc.o rom_stream.o c_start.o vsprintf.o cpu.o static.o
gcc -nostdlib -r -o linuxbios_c.o c_start.o  mainboard.o uart8250_console.o linuxbios.a /usr/lib/gcc-lib/i486-linux/3.3.4/libgcc.a
gcc -nostdlib -nostartfiles -static -o linuxbios_c -T /home/dsully/src/freebios2/src/config/linuxbios_c.ld linuxbios_c.o
linuxbios_c.o(.data+0x1e4): undefined reference to `mainboard_via_epia_m_control'
collect2: ld returned 1 exit status
make: *** [linuxbios_c] Error 1


which includes:


where mainboard_via_epia_m_control is set as extern.

Any thoughts?


<weezyl> Oh, I cook bacon naked all the time. You just have to keep the heat on med-low.

More information about the coreboot mailing list