On Sun, 26 Mar 2006, Blaisorblade wrote:

by the way pcap gives some errors on x86_64 but builds, but on i386 it
crashes the build.

The pcap code is correct for both cases.

I guess you've been in a hurry - on i386 likely you don't have libpcap-devel
(or such) installed (you also need libpcap.a), on x86_64 those
"errors" (since it builds) are warnings - even if it's a statically linked
binary it can't run standalone, because it needs NSS which can't be
statically linked (those libraries are loaded with dlopen()).

Obviously, I don't know what happened actually because you don't tell it, I
guessed the most likely causes.

you called it right. once I re-added libpcap-dev (I still don't understand why it had been on the distro before and had been removed) it compiles with just the same warnings as on x86_64 (and my apologies for the imprecise language). I'm not used to the kernel relying on userspace apps so it didn't occur to me to check for that (and I don't remember anything in the error message to suggest that there was a missing lib, but I may not have looked far enough up in the error messages to catch it)

thanks for helping me out with this, and sorry for the flood of questions.

David Lang


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to