Module Linking Errors

Brad Bonkoski bbonkosk@mcg.mot.com
Thu, 15 Mar 2001 08:16:07 -0700


Hello,
Having problems again...
I have a kernel module with multiple *.c files.  In my Makefile I am
comiling them
independantly, and then linking them together with 'ld -r'
The problem I have is that for the *.c files to comile independantly
they require all of
the header files.  But when I link them I get an error saying:
redifinition of <typedef> first defined <here>
Of course they are the same definition because they include the same
file.  Any insight
into how I could resolve this would be appdreciated.
-Brad