linux-um archives
 help / color / mirror / Atom feed
From: "Alexander Newald" <alexander@newald.de>
To: User-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] uml failes to build with pcap enabled
Date: Tue, 30 Sep 2003 23:51:35 +0200	[thread overview]
Message-ID: <045401c3879d$06745b90$6f01a8c0@alex> (raw)

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

             reply	other threads:[~2003-09-30 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 21:51 Alexander Newald [this message]
2003-10-06 21:24 ` [uml-devel] uml failes to build with pcap enabled Jeff Dike
2003-11-10  4:40 ` Jeff Dike

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='045401c3879d$06745b90$6f01a8c0@alex' \
    --to=alexander@newald.de \
    --cc=User-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox