On Fri, Nov 15, 2002 at 01:02:13 +0100, Eduard Bloch wrote:
> #include <hallo.h>
> * mdevin [Fri, Nov 15 2002, 09:38:11AM]:
> 
> > I compiled the module bcm4400.o against the kernel-headers-2.4.18
> > package (ie. the one for my kernel-source 2.4.18), so I don't understand
> > these unresolved symbol errors.
> 
> Is -DMODVERSIONS passed while compiling?
>
Yes.
Here is part of the Makefile:
---snip---
CC=gcc
LD=ld
CFLAGS=-DMODULE -D__KERNEL__ -DMODVERSIONS -Wall -Wstrict-prototypes -O2 
-I/usr/src/kernel-headers-2.4.18/include

all: bcm4400.o

bcm4400.o: b44um.o b44proc.o b44lm.o
        $(LD) -i $^ -o $@
---end snip---

I changed the -I directive above to point to the debian kernel-headers
package.  Before doing this it wouldn't compile at all since it was
looking for the kernel-headers in RedHat specific locations.

I can mail the source code if someone feels they can help me.  I tell
you, I am having major dramas installing debian over the network without
a network card :-(

Cheers.
Mark.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to