Re: how to run old module program on RH9?

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

 




Hi Sunnesh,
      No i am compiling on my own with following
command
[root@localhost snull]# gcc -c snull.c -I
/usr/src/linux-2.4.20-8/include/
[root@localhost snull]# sh snull_load
./snull.o: unresolved symbol htons
./snull.o:
Hint: You are trying to load a module without a GPL
compatible license
      and it has unresolved symbols.  Contact the
module supplier for
      assistance, only they can help you.

local0: Host name lookup failure
ifconfig: `--help' gives usage information.
local1: Host name lookup failure
ifconfig: `--help' gives usage information.
[root@localhost snull]#

what should i do? what is required? is i am missing
something?

regards,
linux_lover2004.

--- suneesh <suneesh@xxxxxxxxxxxxxx> wrote:

> linux lover wrote:
> 
> >hello,
> >       I downloaded a ldd sample examples. From
> that i
> >am running a snull program which is giving me
> >unresolved symbol htons.
> >        how to run that program? i am attaching
> that
> >code in tar file.
> >regards,
> >linux_lover2004.
> >
> 
> Are you using downloaded snull.o ?  Compile snull.c
> with your kernel
> headers and then 'insmod' the snull.o produced. It
> will work.
> 
> Regards
> 
> Suneesh
> 
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux