[realtek] Compilation problem

B. Atashband batashband@mail.arc.nasa.gov
Fri, 08 Sep 2000 10:53:01 -0700


Donald;

Right on, the compilation went through no problem at all, thank you.

However my problem moved further downstream as you could see from the 
following
linux:~ # gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)

linux:~ # depmod
depmod: *** Unresolved symbols in /lib/modules/2.2.14/net/rtl8139.o
depmod: *** Unresolved symbols in /lib/modules/2.2.14/misc/airport.o
depmod: *** Unresolved symbols in /lib/modules/2.2.14/misc/cpia_pp.o
depmod: *** Unresolved symbols in /lib/modules/2.2.14/pcmcia/mpsuni_cs.o

linux:~ # modprobe rtl8139
/lib/modules/2.2.14/net/rtl8139.o: unresolved symbol pci_drv_unregister
/lib/modules/2.2.14/net/rtl8139.o: unresolved symbol pci_drv_register
/lib/modules/2.2.14/net/rtl8139.o: insmod /lib/modules/2.2.14/net/rtl8139.o 
failed
/lib/modules/2.2.14/net/rtl8139.o: insmod rtl8139 failed

Thanks again, Barry

At 01:12 PM 9/8/00 -0400, Donald Becker wrote:
>On Fri, 8 Sep 2000, B. Atashband wrote:
>
> > In an attempt to get the nic EN1207D-TX in my HP Pavilion 6740C to work, I
> > am trying to compile the rtl8139.c on my SuSE6.4 installation.
>...
> > linux:/tmp:# gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c
> >
> > produces the following messages that I do not know what to do with
> >
> > In file included from rtl8139.c:123:
> > kern_compat.h:164: parse error before `0'
>
>What version of 'gcc' are you running?
>
>Current Theory:
>The current version of gcc (2.9.*) is somehow broken with line
>continuations.
>
>Removing the "\" and joining the lines is ugly, but should work around the
>probelm.  Please send a report if this works.
>
>Problem code:
>________________
>#define netif_pause_tx_queue(dev) \
>     (test_and_set_bit(0, (void*)&(dev)->tbusy))
>#define netif_unpause_tx_queue(dev) \
>     do { clear_bit(0, (void*)&(dev)->tbusy); } while (0)
>#define netif_resume_tx_queue(dev) \
>     do { clear_bit(0, (void*)&(dev)->tbusy); mark_bh(NET_BH); } while (0)
>________________
>
>Donald Becker                           becker@scyld.com
>Scyld Computing Corporation             http://www.scyld.com
>410 Severn Ave. Suite 210               Beowulf-II Cluster Distribution
>Annapolis MD 21403
>
>
>_______________________________________________
>realtek mailing list
>realtek@scyld.com
>http://www.scyld.com/mailman/listinfo/realtek