[ Next-in-Thread ]  [ Next Message ] 

Question: Compile-errors in 3.1.10 

Forum: PCMCIA Installation and Configuration Issues
Date: 2000, Feb 15
From: Rolf Rander Naess rolfn

I am trying to compile 3.1.10 on a RedHat 6.1 system, currently running 2.2.12.
#gcc --version
2.8.1
#ld -v
GNU ld version 2.9.1 (with BFD 2.9.1.0.25)
and I get:
gcc -MD -c -O2 -I../include -I/usr/src/linux/include -D__KERNEL__ -DEXPORT_SYMTAB -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DMODULE -DCARDBUS 3c575_cb.c
3c575_cb.c: In function `vortex_up':
3c575_cb.c:1206: structure has no member named `tbusy'
3c575_cb.c:1207: structure has no member named `interrupt'
3c575_cb.c:1208: structure has no member named `start'
3c575_cb.c: In function `vortex_tx_timeout':
3c575_cb.c:1430: structure has no member named `tbusy'
3c575_cb.c: In function `vortex_start_xmit':
3c575_cb.c:1532: structure has no member named `tbusy'
3c575_cb.c:1552: structure has no member named `tbusy'
3c575_cb.c: In function `boomerang_start_xmit':
3c575_cb.c:1589: structure has no member named `tbusy'
3c575_cb.c:1634: structure has no member named `tbusy'
3c575_cb.c: In function `vortex_interrupt':
3c575_cb.c:1653: structure has no member named `interrupt'
3c575_cb.c:1656: structure has no member named `interrupt'
3c575_cb.c:1667: structure has no member named `interrupt'
3c575_cb.c:1697: structure has no member named `tbusy'
3c575_cb.c:1698: `NET_BH' undeclared (first use in this function)
3c575_cb.c:1698: (Each undeclared identifier is reported only once
3c575_cb.c:1698: for each function it appears in.)
3c575_cb.c:1720: structure has no member named `tbusy'
3c575_cb.c:1729: structure has no member named `tbusy'
3c575_cb.c:1770: structure has no member named `interrupt'
3c575_cb.c: In function `vortex_down':
3c575_cb.c:1945: structure has no member named `start'
3c575_cb.c:1946: structure has no member named `tbusy'
3c575_cb.c: In function `vortex_close':
3c575_cb.c:1980: structure has no member named `start'
3c575_cb.c: In function `vortex_get_stats':
3c575_cb.c:2021: structure has no member named `start'
make[1]: *** [3c575_cb.o] Error 1
make[1]: Leaving directory `/export/a/src/pcmcia-cs-3.1.9/clients'
make: *** [all] Error 2

[ Next-in-Thread ]  [ Next Message ] 

Messages Inline: [ 0 ]  [ 1 ] 

Some more info!

Re: Question: Compile-errors in 3.1.10 (Rolf Rander Naess)
Date: 2000, Feb 15
From: Rolf Rander Naess rolfn

Forgot to say: I'm compiling against kenel 2.3.45, I suppose this might be a problem. (I need to upgrade pcmcia to use this kernel, so I figured I should compile against it as well)

You left out the part about a 2.3.* development kernel

Re: Question: Compile-errors in 3.1.10 (Rolf Rander Naess)
Date: 2000, Feb 15
From: David Hinds <dhinds@pcmcia.sourceforge.org>

So... it looks like you're compiling 3.1.9 (not 3.1.10), and you're
not actually building it for the 2.2.12 kernel you mention, you're
building it against a 2.3.43 or newer development kernel.

This combination won't work, due to API changes in the latest
development kernels.  You can try the latest beta on sourceforge.org
in /pcmcia/NEW.

-- Dave

Question: better combination?

Re: You left out the part about a 2.3.* development kernel (David Hinds)
Date: 2000, Feb 16
From: Luis Villa luge

David-

I am having the same problem, and need a 2.3.x for the USB code. So:

1) How stable are those "NEW" packages? Will I have any luck with them at all or am I just wasting my time?

2) If they aren't particularly usable, how far back into the 2.3.x tree do I have to go to get a kernel that doesn't have the "improved" API? Obviously, this isn't the ideal solution, but if that is what it'll take...

Thanks a bunch for everything you've done-

Luis Villa (long time user, first time luser :)

Question: One other question

Re: Question: better combination? (Luis Villa)
Date: 2000, Feb 16
From: Luis Villa luge

One more thing:

How does this package interface with the stuff in the kernel? Should I leave all that stuff compiled out, or does the package now depend on it, assuming that it is there? I'll be testing this shortly, but that kernel re-compile will take a while :)

Luis

For post-2.3.36, you must use the modules from the kernel tree

Re: Question: One other question (Luis Villa)
Date: 2000, Feb 17
From: David Hinds <dhinds@pcmcia.sourceforge.org>

If you have a post-2.3.36 kernel, and the latest PCMCIA beta release,
then you must use the PCMCIA stuff in the kernel; the PCMCIA package
itself will only build the user-level PCMCIA utilities.

-- Dave
Compile-errors in 3.1.10


[ Add Message ]  to: "Compile-errors in 3.1.10"

[ Members ]  [ Subscribe ]  [ Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ]