* [uml-devel] uml failes to build with pcap enabled
@ 2003-09-30 21:51 Alexander Newald
2003-10-06 21:24 ` Jeff Dike
2003-11-10 4:40 ` Jeff Dike
0 siblings, 2 replies; 3+ messages in thread
From: Alexander Newald @ 2003-09-30 21:51 UTC (permalink / raw)
To: User-mode-linux-devel
Hello,
I've tried to use uml with pcap but I fail to build the linux binary.
I used a clean sorce of kernel 2.4.22 from kernel.org and the corresponding
patch from the uml site.
I did:
make menuconfig ARCH=um
make linux ARCH=um
and ended up here...
make[1]: Leaving directory `/home/uml/UML/linux-2.4.22/arch/um/fs'
make
CFLAGS="-D__KERNEL__ -I/home/uml/UML/linux-2.4.22/include -Wall -Wstrict-pro
totypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui3
86 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -
I/home/uml/UML/linux-2.4.22/arch/um/include -Derrno=kernel_errno -I/home/uml
/UML/linux-2.4.22/arch/um/kernel/tt/include -I/home/uml/UML/linux-2.4.22/arc
h/um/kernel/skas/include " -C arch/um/drivers
make[1]: Entering directory `/home/uml/UML/linux-2.4.22/arch/um/drivers'
make all_targets
make[2]: Entering directory `/home/uml/UML/linux-2.4.22/arch/um/drivers'
make[2]: *** No rule to make target `-L/usr/lib', needed by `pcap.o'. Stop.
make[2]: Leaving directory `/home/uml/UML/linux-2.4.22/arch/um/drivers'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/home/uml/UML/linux-2.4.22/arch/um/drivers'
make: *** [_dir_arch/um/drivers] Error 2
libpcap is installed as
~/UML/linux-2.4.22> rpm -q -l libpcap
/usr/include/net/bpf.h
/usr/include/pcap-namedb.h
/usr/include/pcap.h
/usr/lib/libpcap.a
/usr/lib/libpcap.so
/usr/lib/libpcap.so.0
/usr/lib/libpcap.so.0.6.2
/usr/share/doc/packages/libpcap
/usr/share/doc/packages/libpcap/CHANGES
/usr/share/doc/packages/libpcap/CREDITS
/usr/share/doc/packages/libpcap/INSTALL.txt
/usr/share/doc/packages/libpcap/LICENSE
/usr/share/doc/packages/libpcap/README
/usr/share/doc/packages/libpcap/README.aix
/usr/share/doc/packages/libpcap/README.linux
/usr/share/doc/packages/libpcap/README.tru64
/usr/share/doc/packages/libpcap/TODO
/usr/share/man/man3/pcap.3.gz
What I'm doing wrong?
Thanks
Alexander Newald
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] uml failes to build with pcap enabled
2003-09-30 21:51 [uml-devel] uml failes to build with pcap enabled Alexander Newald
@ 2003-10-06 21:24 ` Jeff Dike
2003-11-10 4:40 ` Jeff Dike
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Dike @ 2003-10-06 21:24 UTC (permalink / raw)
To: Alexander Newald; +Cc: User-mode-linux-devel
alexander@newald.de said:
> I've tried to use uml with pcap but I fail to build the linux binary.
> I used a clean sorce of kernel 2.4.22 from kernel.org and the
> corresponding patch from the uml site.
pcap is one of the lesser-used transports, and requires some build strangeness.
I don't know what's going on here, but I added it to mylist.
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] uml failes to build with pcap enabled
2003-09-30 21:51 [uml-devel] uml failes to build with pcap enabled Alexander Newald
2003-10-06 21:24 ` Jeff Dike
@ 2003-11-10 4:40 ` Jeff Dike
1 sibling, 0 replies; 3+ messages in thread
From: Jeff Dike @ 2003-11-10 4:40 UTC (permalink / raw)
To: Alexander Newald; +Cc: User-mode-linux-devel
alexander@newald.de said:
> I've tried to use uml with pcap but I fail to build the linux binary.
Can you try with -6 when it comes out? I haven't seen that problem here,
but I cleaned up that build a little to make it go away.
Jeff
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-10 4:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-30 21:51 [uml-devel] uml failes to build with pcap enabled Alexander Newald
2003-10-06 21:24 ` Jeff Dike
2003-11-10 4:40 ` Jeff Dike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox