Click to See Complete Forum and Search --> : libnet install............?
ill_bill
09-25-2002, 09:18 AM
hi, does anyone know how to install libnet??
on RH 7.3
after i make my port.mak file and run make install i get an error
I not at my machine so i cant recreate the exact error but i believe there are references to stop and start bits not being set correctlyand something about drivers.
:confused:
ill_bill
09-25-2002, 11:00 AM
did i violate some unspoken rule by posting about libnet?
I doesnt seem to be a very popular subject.......
sarah31
09-25-2002, 01:25 PM
it is a possibility that no one here knows what libnet is.
sarah31
09-25-2002, 01:28 PM
have you looked here (http://libnet.sourceforge.net/) for an answer?
ill_bill
09-25-2002, 02:48 PM
i have, but i didnt see anything to help me.
i really dont know what to look for.
here is the error i get after i run 'make install':
nux.o drivers/serlinux.c
drivers/serlinux.c:210:42 pasting "." and "baudrate does not give a valid processing token
the above line repeat 3 more times replacing "baud rate" with "bits", "stopbits", and "parity"
followed by:
make[1]: *** [drivers/serialinux.o] Error 1
make[1] :*** leaving directory ..........
these are more or less the errors i get
is it possible i need to install a modem? i dont know.
:confused:
sarah31
09-25-2002, 04:08 PM
It could be that you are missing a kernel module.
have you tried installing the RPMs that i saw available?
ill_bill
09-25-2002, 05:08 PM
no i didnt think of that. the only module i saw was a pearl module.
i assumed that it was to be used on top of an already installed libnet package.
thanks for the help. i have some direction to my search now. :D
umm.... where did u see those modules? :)
sarah31
09-25-2002, 09:16 PM
make[1]: *** [drivers/serialinux.o] Error 1
that error made me think that it is a missing kernel module. I have no idea which module you would have to enable though take a look through your .config file (which could be in /usr/src/linux or /boot) it will look something like this:
#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_ISA=y
# CONFIG_SBUS is not set
CONFIG_UID16=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
#
# Loadable module support
#
CONFIG_MODULES=y
(this is just a very small snippet of my kernel config file)
ill_bill
09-27-2002, 03:48 PM
so the libnet install is is looking for a missing module expressed in the error codes?
I see :D
bwkaz
09-27-2002, 04:07 PM
OK, I just tried compiling it also. The problem is that the libnet makefile tells gcc to treat all warnings (which are things like "not a valid preprocessing token" and such) as errors, and to quit. This confused me, as I was wondering how on earth a warning would make gcc die with an error exit status... I guess that's why.
Removing the -Werror from WARNING_FLAGS in your port.mak file should help.
~lart people who use bad compiler flags because they think everyone's system is like theirs... (actually, I'm not sure if that's the case here, but it looks like it is)
And on a side note, drivers/serialinux.o is the file that make was trying to, well, make, when it ran into the error it's reporting. It's not a kernel module. ;)
ill_bill
09-27-2002, 04:29 PM
Thanks for all the help!
it was that -werror flag.
thanks to you too sarah31:D
ill_bill
09-27-2002, 05:12 PM
wait i spoke too soon.
shouldn't there be a /lib/libnet file?
i can't find it.
ill_bill
09-27-2002, 05:48 PM
hold on.....
i think i fixed it.
i found a libnet rpm then ran:
rpm -ivh --force [rpm package]
i was attempting to compile an application that depends on libcap. before i installed the libnet rpm it didn't see libnet at all