[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a doubt regarding opening a log file in linux device drivers.

when i use

int fp;
fp = open("//etc//osiwan.log",O_CREAT|O_RDWR);

in my driver code and compile, i am able to get my library(tp02.ld). By using this tp02.ld library i build streams.o, a streams module using LiS(Linux streams). when i use

insmod streams.o

it is giving an error unresolved symbol open.
Is the above procedure correct? can any one please help me, what the problem is.

thanking you
krishna prasad

________________________________________________________________
NIIT supports World Computer Literacy Day on 2nd December.
Enroll for NIIT SWIFT Jyoti till 2nd December for only Rs. 749
and get free Indian Languages Office software worth Rs. 2500.
For details contact your nearest NIIT centre, SWIFT Point
or click here http://swift.rediff.com/

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux