Re: dummy.c help needed!

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

 



Why -lm ??
try gcc -D__KERNEL__ -DMODULE -Wall -O3 -c -I/usr/src/linux/include 
dummy.c -o dummy.o
Patrick

Mehta, Phoram Kirtikumar (UMKC-Student) wrote:

> hello Sir,
> I want to modify dummy.c and reuse it. can anybody guide me, how to
> recompile dummy.c and include it again using insmod i.e make dummy.o
> with my modifications.
>  when i try to recompile it using 
> gcc -o dummy -lm dummy.c , it gives me hundreds of errors.
> any help will be greatly appreciated. i even tried to copy it in my home
> dir but again teh same result.
> 
> plz help.
> 
> phoram mehta
> 
> -
> : 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
> 


-
: 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