Hello,

I got into problem while compiling tiny user space utility.

Program calls:

       mymaj = major(sbuf.st_rdev);

When I compile this I get:

strutil.o(.text+0x1a49): In function `main':
: undefined reference to `MAJOR'            

I use <sys/stream.h> <sys/stropts.h> include files
CC flags -DLINUX -I/usr/src/LiS/include

Linking flags used:
cc -Wl,-a,archive -o strutil strutil.o  -lLiS

I know I miss something, cannot figure out what.

thanks in advance for any help on this.

--
Eugene

__________________________________________________________________
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