On Tue, Nov 06, 2007 at 08:28:06PM +0100, Andreas B. Mundt wrote: > Hi, > > after some time of abstinence I tried to build linuxbios (m57sli) on > debian-lenny > (AMD64) but failed: > > gcc -m32 -nostdlib -r -o linuxbios_ram.o c_start.o mcp55_aza.o mcp55_ht.o > mcp55_pci.o uart8250_console.o mcp55_ide.o vga_console.o mainboard.o > mcp55_lpc.o mcp55_nic.o mcp55_pcie.o mcp55_usb2.o mcp55_sata.o mcp55.o > mcp55_usb.o misc_control.o model_fxx_init.o mcp55_smbus.o linuxbios.a > /usr/lib/gcc/x86_64-linux-gnu/4.2.3/libgcc.a > gcc -m32 -nostdlib -nostartfiles -static -o linuxbios_ram -T > /home/andi/freeBIOS/LinuxBIOSv2/src/config/linuxbios_ram.ld linuxbios_ram.o > linuxbios_ram.o: In function `div_long': > (.text+0x11615): undefined reference to `__umoddi3' > linuxbios_ram.o: In function `div_long': > (.text+0x11633): undefined reference to `__udivdi3' > linuxbios_ram.o: In function `idiv_long': > (.text+0x11775): undefined reference to `__moddi3' > linuxbios_ram.o: In function `idiv_long': > (.text+0x11793): undefined reference to `__divdi3' > collect2: ld returned 1 exit status > make[1]: *** [linuxbios_ram] Error 1 > make[1]: Leaving directory > `/home/andi/freeBIOS/LinuxBIOSv2/targets/gigabyte/m57sli/m57sli/normal' > make: *** [normal/linuxbios.rom] Error 1 > > > >From a short google-investigation I suspect some missing 32-bit libs. > Does anybody have an idea what's missing/changed?
Try installing gcc-multilib package. (Btw, it works for me on amd64 etch) -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What use is a phone call, if you are unable to speak? (as seen on /.) -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios