* Sagiv Yefet sagivy@3vium.com [040914 12:53]:
I try to build bios for tyan s2850 with broadcom NIC.
Very weird. Maybe something is wrong with your compiler, or your binutils and compiler don't fit well together? Never seen this error. Is your compiler an unpatched 3.3.1? What binutils version are you using?
This is the ERROR I got: [broadcom_nic.c]
/tmp/ccXAyjD1.s: Assembler messages: /tmp/ccXAyjD1.s:39: Warning: setting incorrect section attributes for .rodata.pci_driver /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux -gnu/bin/ld: warning: cannot find entry symbol _start; defaulting to 08048074 /tmp/ccavzIGX.o(.text+0xb): In function `broadcom_nic_init': : undefined reference to `pci_read_config16' /tmp/ccavzIGX.o(.text+0x1a): In function `broadcom_nic_init': : undefined reference to `pci_write_config16' /tmp/ccavzIGX.o(.text+0x26): In function `broadcom_nic_init': : undefined reference to `do_printk' /tmp/ccavzIGX.o(.data+0x0): undefined reference to `pci_dev_read_resources' /tmp/ccavzIGX.o(.data+0x4): undefined reference to `pci_dev_set_resources' /tmp/ccavzIGX.o(.data+0x8): undefined reference to `pci_dev_enable_resources' collect2: ld returned 1 exit status
What is the problem ?
Stefan