Rajat,

I had similar problem with my driver and it was 'sprintf' that
was reported 'Unresolved'.
Then I added -DMODVERSIONS compilation option ( I had only -DMODULE
option before that) and the problem disappeared.

I suggest you to compile your module with -DMODVERSIONS -DMODULE
options and see if it helps.

--
Eugene







From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Mon, 28 Jul 2003 21:46:45 +0530
Subject: [Linux-streams] Dependency problem while installing loadable streams driver





Hi all ..

      I'm trying to run my 'loadable' streams driver (foo) on Red Hat Linux 7.2 (linux 
2.4.7-10) with LiS 2.13.16.  Here's what I've done:

     1. Installed LiS with 'make' and 'make install' commands.  The command 'streams 
start' works fine.
     2. Modify my streams driver (foo) to use sys/streams.h and added init_module and 
cleanup_module routines.
     3. Compile and move my streams driver to /lib/modules/2.4.7-10/misc/streams-foo.o.
     4.  Add /usr/src/LiS/pkg/foo directory containing Config and Makefile files. 
Config file indicates 'loadable' and Makefile is 'nothing:'.  I'm
not using Space.c.
     5. Then again re-build LiS.

     The final depmod of the make yields "*** Unresolved symbols in 
/lib/modules/2.4.7-10/misc/streams-foo.o".
     When I run 'depmod -ae' to show the unresolved symbol, it is 'syslog'.
     foo.c includes the header file sys/syslog.h.

     Can any of you please tell me where could i've gone wrong??

     Looking forward to a quick response.

thanks n regards ..
Rajat


__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to