FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 05-09-2008, 03:05 AM
Gerry Reno
 
Default F9 and KVM

Mark Bidewell wrote:


I'm still stuck with this guest networking problem. I have br0 defined
on the host with a static IP on the lan. I have eth0 on the host that
points to the bridge br0. When I created the vm I selected shared
network br0(eth0). In the guest I have ifcfg-eth0 that has:
BOOTPROTO=dhcp.
But when you do ifup eth0 it just sits there trying to determine IP and
eventually it pings 192.168.122.1 which to me looks like it thinks its
in a NAT environment rather than bridged networking.

Regards,
Gerry







have you looked here?

http://kvm.qumranet.com/kvmwiki/Networking

Mark Bidewell



Yes, but that is for doing everything from the command line.* I was
expecting that virt-manager was setting all that up.* I mean I see
vnet0 and vnet1 for my VM's on the host.* This has all been created by
virt-manager and virsh define.* I didn't set any of that up manually
except for setting up the host bridge br0.* So how much of this
networking setup is virt-manager actually doing if not all of it?* The
picture with virt-manager and networking is not exactly clear.





Regards,

Gerry






--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-09-2008, 04:06 AM
Warren Togami
 
Default F9 and KVM

Gerry Reno wrote:
Yes, but that is for doing everything from the command line. I was
expecting that virt-manager was setting all that up. I mean I see vnet0
and vnet1 for my VM's on the host. This has all been created by
virt-manager and virsh define. I didn't set any of that up manually
except for setting up the host bridge br0. So how much of this
networking setup is virt-manager actually doing if not all of it? The
picture with virt-manager and networking is not exactly clear.



Regards,
Gerry



libvirt is supposed to come with virbr0 automatically configured, and
anything started by libvirt will auto-add itself to the virbr0 bridge.
This works out of the box. You must have configured it in some
non-default way.


Warren

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-09-2008, 08:53 AM
Suren Karapetyan
 
Default F9 and KVM

Gerry Reno wrote:

Gerry Reno wrote:
Now, how can I set the correct context for where I need to store my
images? I have several vm image directories on different filesystems
so that the vm's are not competing for the same drive all the time.
Is just doing a 'chcon -t virt_image_t ./imagedir' enough to set the
context of the images directories?
Yes, this works. I just did this to my old vmdk file and directory and
now it runs.




Also, one last problem is that neither network service nor
NetworkManager seem to be able to get a dhcp connection to the lan in
the guest. I selected shared network using br0(eth0) during image
creation but all I get in the guest is network unreachable. Is there
some trick you need to do in the guest?
I'm still stuck with this guest networking problem. I have br0 defined
on the host with a static IP on the lan. I have eth0 on the host that
points to the bridge br0. When I created the vm I selected shared
network br0(eth0). In the guest I have ifcfg-eth0 that has:
BOOTPROTO=dhcp.
But when you do ifup eth0 it just sits there trying to determine IP and
eventually it pings 192.168.122.1 which to me looks like it thinks its
in a NAT environment rather than bridged networking.


Regards,
Gerry




It would help if You did "ifconfig" and "brctl show" on the host PC
while guest is running and posted it here. That way we could find out
what's happening.


BTW: Is eth0 on host configured via DHCPD or static?

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-09-2008, 12:11 PM
"David G. Mackay"
 
Default F9 and KVM

On Fri, 2008-05-09 at 00:06 -0400, Warren Togami wrote:
> Gerry Reno wrote:
> > Yes, but that is for doing everything from the command line. I was
> > expecting that virt-manager was setting all that up. I mean I see vnet0
> > and vnet1 for my VM's on the host. This has all been created by
> > virt-manager and virsh define. I didn't set any of that up manually
> > except for setting up the host bridge br0. So how much of this
> > networking setup is virt-manager actually doing if not all of it? The
> > picture with virt-manager and networking is not exactly clear.
> >
> >
> > Regards,
> > Gerry
> >
>
> libvirt is supposed to come with virbr0 automatically configured, and
> anything started by libvirt will auto-add itself to the virbr0 bridge.
> This works out of the box. You must have configured it in some
> non-default way.

There was another thread on this list recently about bridging not being
handled yet by NetworkManager. You might want to check that in this
context.

Dave


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-09-2008, 03:16 PM
Gerry Reno
 
Default F9 and KVM

Suren Karapetyan wrote:
It would help if You did "ifconfig" and "brctl show" on the host PC
while guest is running and posted it here. That way we could find out
what's happening.


BTW: Is eth0 on host configured via DHCPD or static?



I made some small progress. I had an existing bridge br0 and
virt-manager created a second bridge virbr0. vnet0 and vnet1 became
attached to my br0 bridge and not virbr0. Now I don't see why that
should be a problem but apparently it is. So I destroyed my bridge.
Changed the vm defines to reflect virbr0 and restarted everything. So
now in the guest I can ping 192.168.122.1 which is the virbr0. But
that's all I cannot get access to the lan. When I originally had setup
the images via virt-manager gui I selected shared networking and it was
showing br0(eth0) which was my original bridge. I was expecting it
would slave to this and then I would have a bridge to my lan address
space. But this did not work and I had access to nothing. So how can I
define a bridge on my lan and have the guests slave to it so that they
can get either a lan dhcp address or a static lan address?


Here are the current conditions:

eth0 Link encap:Ethernet HWaddr 00:1A:4D:5E:F6:36
inet addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::21a:4dff:fe5e:f636/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:27833013 errors:0 dropped:0 overruns:0 frame:0
TX packets:36339801 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3841204956 (3.5 GiB) TX bytes:1079379274 (1.0 GiB)
Interrupt:19 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:142210 errors:0 dropped:0 overruns:0 frame:0
TX packets:142210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:286289024 (273.0 MiB) TX bytes:286289024 (273.0 MiB)

virbr0 Link encap:Ethernet HWaddr 00:FF:12:85:0F0
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0

inet6 addr: fe80::1cc7:34ff:fe82:fdbc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5925 errors:0 dropped:0 overruns:0 frame:0
TX packets:5228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:432804 (422.6 KiB) TX bytes:4295659 (4.0 MiB)

vnet0 Link encap:Ethernet HWaddr 00:FF:12:85:0F0
inet6 addr: fe80::2ff:12ff:fe85:fd0/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0 frame:0
TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:17377 (16.9 KiB) TX bytes:17621 (17.2 KiB)

vnet1 Link encap:Ethernet HWaddr 00:FF:16:0F:7D:A0
inet6 addr: fe80::2ff:16ff:fe0f:7da0/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:150 errors:0 dropped:0 overruns:0 frame:0
TX packets:147590 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:41461 (40.4 KiB) TX bytes:8863921 (8.4 MiB)

[root@grp-01-10-01 TEST1]# brctl show
bridge name bridge id STP enabled interfaces
pan0 8000.000000000000 no
virbr0 8000.00ff12850fd0 yes vnet0

vnet1




Regards,
Gerry

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-09-2008, 04:50 PM
Suren Karapetyan
 
Default F9 and KVM

Gerry Reno wrote:

Suren Karapetyan wrote:
It would help if You did "ifconfig" and "brctl show" on the host PC
while guest is running and posted it here. That way we could find out
what's happening.


BTW: Is eth0 on host configured via DHCPD or static?



I made some small progress. I had an existing bridge br0 and
virt-manager created a second bridge virbr0. vnet0 and vnet1 became
attached to my br0 bridge and not virbr0. Now I don't see why that
should be a problem but apparently it is. So I destroyed my bridge.
Changed the vm defines to reflect virbr0 and restarted everything. So
now in the guest I can ping 192.168.122.1 which is the virbr0. But
that's all I cannot get access to the lan. When I originally had setup
the images via virt-manager gui I selected shared networking and it was
showing br0(eth0) which was my original bridge. I was expecting it
would slave to this and then I would have a bridge to my lan address
space. But this did not work and I had access to nothing. So how can I
define a bridge on my lan and have the guests slave to it so that they
can get either a lan dhcp address or a static lan address?


Here are the current conditions:

eth0 Link encap:Ethernet HWaddr 00:1A:4D:5E:F6:36 inet
addr:192.168.1.15 Bcast:192.168.1.255 Mask:255.255.255.0

inet6 addr: fe80::21a:4dff:fe5e:f636/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:27833013 errors:0 dropped:0 overruns:0 frame:0
TX packets:36339801 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3841204956 (3.5 GiB) TX bytes:1079379274 (1.0 GiB)
Interrupt:19 Base address:0xc000

lo Link encap:Local Loopback inet addr:127.0.0.1
Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:142210 errors:0 dropped:0 overruns:0 frame:0
TX packets:142210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:286289024 (273.0 MiB) TX bytes:286289024 (273.0 MiB)

virbr0 Link encap:Ethernet HWaddr 00:FF:12:85:0F0 inet
addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0

inet6 addr: fe80::1cc7:34ff:fe82:fdbc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:5925 errors:0 dropped:0 overruns:0 frame:0
TX packets:5228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:432804 (422.6 KiB) TX bytes:4295659 (4.0 MiB)

vnet0 Link encap:Ethernet HWaddr 00:FF:12:85:0F0 inet6
addr: fe80::2ff:12ff:fe85:fd0/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:105 errors:0 dropped:0 overruns:0 frame:0
TX packets:269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:17377 (16.9 KiB) TX bytes:17621 (17.2 KiB)

vnet1 Link encap:Ethernet HWaddr 00:FF:16:0F:7D:A0 inet6
addr: fe80::2ff:16ff:fe0f:7da0/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:150 errors:0 dropped:0 overruns:0 frame:0
TX packets:147590 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:41461 (40.4 KiB) TX bytes:8863921 (8.4 MiB)

[root@grp-01-10-01 TEST1]# brctl show
bridge name bridge id STP enabled interfaces
pan0 8000.000000000000 no
virbr0 8000.00ff12850fd0 yes vnet0

vnet1




Regards,
Gerry



Your initial configuration was right.
I don't have much skills with bridges so maybe someone more experienced
could correct me but maybe You need ip_forwarding.
And also, bridged packets travel through iptables so You may need some
rules (libvirtd adds some but I don't remember if they are enough).


Could You switch to Your previews settings and post outputs for
ifconfig, brctl show, iptables -L -n -v?


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-09-2008, 04:52 PM
"Mark Bidewell"
 
Default F9 and KVM

On Fri, May 9, 2008 at 12:50 PM, Suren Karapetyan <surenkarapetyan@gmail.com> wrote:

Gerry Reno wrote:


Suren Karapetyan wrote:


It would help if You did "ifconfig" and "brctl show" on the host PC while guest is running and posted it here. That way we could find out what's happening.



BTW: Is eth0 on host configured via DHCPD or static?






I made some small progress. *I had an existing bridge br0 and virt-manager created a second bridge virbr0. *vnet0 and vnet1 became attached to my br0 bridge and not virbr0. *Now I don't see why that should be a problem but apparently it is. *So I destroyed my bridge. *Changed the vm defines to reflect virbr0 and restarted everything. *So now in the guest I can ping 192.168.122.1 which is the virbr0. *But that's all I cannot get access to the lan. *When I originally had setup the images via virt-manager gui I selected shared networking and it was showing br0(eth0) which was my original bridge. *I was expecting it would slave to this and then I would have a bridge to my lan address space. *But this did not work and I had access to nothing. *So how can I define a bridge on my lan and have the guests slave to it so that they can get either a lan dhcp address or a static lan address?




Here are the current conditions:



eth0 * * *Link encap:Ethernet *HWaddr 00:1A:4D:5E:F6:36 * * * * *inet addr:192.168.1.15 *Bcast:192.168.1.255 *Mask:255.255.255.0


* * * * inet6 addr: fe80::21a:4dff:fe5e:f636/64 Scope:Link

* * * * UP BROADCAST RUNNING PROMISC MULTICAST *MTU:1500 *Metric:1

* * * * RX packets:27833013 errors:0 dropped:0 overruns:0 frame:0

* * * * TX packets:36339801 errors:0 dropped:0 overruns:0 carrier:0

* * * * collisions:0 txqueuelen:1000

* * * * RX bytes:3841204956 (3.5 GiB) *TX bytes:1079379274 (1.0 GiB)

* * * * Interrupt:19 Base address:0xc000



lo * * * *Link encap:Local Loopback * * * * *inet addr:127.0.0.1 *Mask:255.0.0.0

* * * * inet6 addr: ::1/128 Scope:Host

* * * * UP LOOPBACK RUNNING *MTU:16436 *Metric:1

* * * * RX packets:142210 errors:0 dropped:0 overruns:0 frame:0

* * * * TX packets:142210 errors:0 dropped:0 overruns:0 carrier:0

* * * * collisions:0 txqueuelen:0

* * * * RX bytes:286289024 (273.0 MiB) *TX bytes:286289024 (273.0 MiB)



virbr0 * *Link encap:Ethernet *HWaddr 00:FF:12:85:0F0 * * * * *inet addr:192.168.122.1 *Bcast:192.168.122.255 *Mask:255.255.255.0


* * * * inet6 addr: fe80::1cc7:34ff:fe82:fdbc/64 Scope:Link

* * * * UP BROADCAST RUNNING MULTICAST *MTU:1500 *Metric:1

* * * * RX packets:5925 errors:0 dropped:0 overruns:0 frame:0

* * * * TX packets:5228 errors:0 dropped:0 overruns:0 carrier:0

* * * * collisions:0 txqueuelen:0

* * * * RX bytes:432804 (422.6 KiB) *TX bytes:4295659 (4.0 MiB)



vnet0 * * Link encap:Ethernet *HWaddr 00:FF:12:85:0F0 * * * * *inet6 addr: fe80::2ff:12ff:fe85:fd0/64 Scope:Link

* * * * UP BROADCAST RUNNING MULTICAST *MTU:1500 *Metric:1

* * * * RX packets:105 errors:0 dropped:0 overruns:0 frame:0

* * * * TX packets:269 errors:0 dropped:0 overruns:0 carrier:0

* * * * collisions:0 txqueuelen:500

* * * * RX bytes:17377 (16.9 KiB) *TX bytes:17621 (17.2 KiB)



vnet1 * * Link encap:Ethernet *HWaddr 00:FF:16:0F:7D:A0 * * * * *inet6 addr: fe80::2ff:16ff:fe0f:7da0/64 Scope:Link

* * * * UP BROADCAST RUNNING MULTICAST *MTU:1500 *Metric:1

* * * * RX packets:150 errors:0 dropped:0 overruns:0 frame:0

* * * * TX packets:147590 errors:0 dropped:0 overruns:0 carrier:0

* * * * collisions:0 txqueuelen:500

* * * * RX bytes:41461 (40.4 KiB) *TX bytes:8863921 (8.4 MiB)



[root@grp-01-10-01 TEST1]# brctl show

bridge name * * bridge id * * * * * * * STP enabled * * interfaces

pan0 * * * * * *8000.000000000000 * * * no

virbr0 * * * * *8000.00ff12850fd0 * * * yes * * * * * * vnet0

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *vnet1







Regards,

Gerry






Your initial configuration was right.

I don't have much skills with bridges so maybe someone more experienced could correct me but maybe You need ip_forwarding.

And also, bridged packets travel through iptables so You may need some rules (libvirtd adds some but I don't remember if they are enough).



Could You switch to Your previews settings and post outputs for ifconfig, brctl show, iptables -L -n -v?



--

fedora-devel-list mailing list

fedora-devel-list@redhat.com

https://www.redhat.com/mailman/listinfo/fedora-devel-list
Here is some more info* which includes IPTables.**

http://www.watzmann.net/blog/index.php/2007/04/27/networking_with_kvm_and_libvirt

Mark Bidewell


--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-10-2008, 11:08 PM
Gerry Reno
 
Default F9 and KVM

I'm looking at VDE now and I have it compiled and running on an old fc6
box but I have not been able to get it compiled for my f9 box.
It complains about libpcap even though I have it and then it looks as
though it can't find limits.h.


First it complains about libpcap being too old yet it is the latest
version available:


Configure results:

vde_cryptcab : enabled
tuntap support : enabled
pcap support : disabled
configure: WARNING: VDE packet dump plugin has been disabled because
libpcap is
not installed on your system, or because it's too old.
Please install it if you want pdump to be compiled and installed.
experimental features : disabled

]$ su - -c "yum list libpcap"
Password:
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* updates: ftp.ndlug.nd.edu
* adobe-linux-i386: linuxdownload.adobe.com
* fedora: ftp.ndlug.nd.edu
updates | 2.4 kB 00:00
primary.sqlite.bz2 | 6.1 MB 00:06
adobe-linux-i386 | 951 B 00:00
fedora | 2.4 kB 00:00
primary.sqlite.bz2 | 6.1 MB 00:06
Installed Packages
libpcap.i386 14:0.9.8-2.fc9 installed

Next there are some variable issues:

tcp_subr.c: In function 'tcp_fconnect':
tcp_subr.c:412: warning: unused variable 'opt'
depbase=`echo tcp2unix.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;
gcc -DHAVE_CONFIG_H -I. -I.. -DVDE -g -O2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT tcp2unix.o -MD -MP -MF $depbase.Tpo -c -o
tcp2unix.o tcp2unix.c &&
mv -f $depbase.Tpo $depbase.Po
depbase=`echo slirpvde.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;
gcc -DHAVE_CONFIG_H -I. -I.. -DVDE -g -O2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT slirpvde.o -MD -MP -MF $depbase.Tpo -c -o
slirpvde.o slirpvde.c &&
mv -f $depbase.Tpo $depbase.Po
bootp.c: In function 'bootp_reply':
bootp.c:267: warning: implicit declaration of function
'client_eth_register'
slirpvde.c:54: error: '_POSIX_PATH_MAX' undeclared here (not in a function)

slirpvde.c: In function 'save_pidfile':
slirpvde.c:79: error: 'PATH_MAX' undeclared (first use in this function)
slirpvde.c:79: error: (Each undeclared identifier is reported only once
slirpvde.c:79: error: for each function it appears in.)
slirpvde.c: In function 'main':
slirpvde.c:417: error: 'PATH_MAX' undeclared (first use in this function)
slirpvde.c:372: warning: unused variable 'i'
make[2]: *** [slirpvde.o] Error 1


Regards,
Gerry

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-11-2008, 03:27 AM
Gerry Reno
 
Default F9 and KVM

Gerry Reno wrote:
I'm looking at VDE now and I have it compiled and running on an old
fc6 box but I have not been able to get it compiled for my f9 box.
I was surprised that there was no package for VDE. It looks pretty
useful. Anyway, I'm not getting anywhere trying to get it to compile on
F9. Did something change regarding limits.h? I run the exact same
compile on FC6 and it works. But on F9 it fails. Was some header file
including limits.h before and is not including it now?


Regards,
Gerry

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 05-11-2008, 08:45 AM
Suren Karapetyan
 
Default F9 and KVM

Gerry Reno wrote:
I'm looking at VDE now and I have it compiled and running on an old fc6
box but I have not been able to get it compiled for my f9 box. It
complains about libpcap even though I have it and then it looks as
though it can't find limits.h.


First it complains about libpcap being too old yet it is the latest
version available:


Configure results:

vde_cryptcab : enabled
tuntap support : enabled
pcap support : disabled
configure: WARNING: VDE packet dump plugin has been disabled because
libpcap is
not installed on your system, or because it's too old.
Please install it if you want pdump to be compiled and installed.
experimental features : disabled

]$ su - -c "yum list libpcap"
Password:
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* updates: ftp.ndlug.nd.edu
* adobe-linux-i386: linuxdownload.adobe.com
* fedora: ftp.ndlug.nd.edu
updates | 2.4 kB 00:00
primary.sqlite.bz2 | 6.1 MB 00:06
adobe-linux-i386 | 951 B 00:00
fedora | 2.4 kB 00:00
primary.sqlite.bz2 | 6.1 MB 00:06
Installed Packages
libpcap.i386 14:0.9.8-2.fc9 installed

Next there are some variable issues:

tcp_subr.c: In function 'tcp_fconnect':
tcp_subr.c:412: warning: unused variable 'opt'
depbase=`echo tcp2unix.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;
gcc -DHAVE_CONFIG_H -I. -I.. -DVDE -g -O2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT tcp2unix.o -MD -MP -MF $depbase.Tpo -c -o
tcp2unix.o tcp2unix.c &&
mv -f $depbase.Tpo $depbase.Po
depbase=`echo slirpvde.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;
gcc -DHAVE_CONFIG_H -I. -I.. -DVDE -g -O2 -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -MT slirpvde.o -MD -MP -MF $depbase.Tpo -c -o
slirpvde.o slirpvde.c &&
mv -f $depbase.Tpo $depbase.Po
bootp.c: In function 'bootp_reply':
bootp.c:267: warning: implicit declaration of function
'client_eth_register'
slirpvde.c:54: error: '_POSIX_PATH_MAX' undeclared here (not in a function)

slirpvde.c: In function 'save_pidfile':
slirpvde.c:79: error: 'PATH_MAX' undeclared (first use in this function)
slirpvde.c:79: error: (Each undeclared identifier is reported only once
slirpvde.c:79: error: for each function it appears in.)
slirpvde.c: In function 'main':
slirpvde.c:417: error: 'PATH_MAX' undeclared (first use in this function)
slirpvde.c:372: warning: unused variable 'i'
make[2]: *** [slirpvde.o] Error 1


Regards,
Gerry



You should have libpcap-devel installed

--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 04:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org