View previous topic :: View next topic |
Author |
Message |
rogueip n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Sep 2005 Posts: 3
|
Posted: Sun Sep 11, 2005 4:05 am Post subject: iptraf emerge problem |
|
|
when i emerge iptraf im getting the following. i dont have any use flags set that might be conflicting with this, what could be wrong?
Code: |
# emerge iptraf
Calculating dependencies ...done!
>>> emerge (1 of 1) net-analyzer/iptraf-2.7.0-r1 to /
>>> md5 files ;-) iptraf-2.7.0-r1.ebuild
>>> md5 files ;-) files/digest-iptraf-2.7.0-r1
>>> md5 files ;-) files/iptraf-2.7.0-atheros.patch
>>> md5 src_uri ;-) iptraf-2.7.0.tar.gz
>>> md5 src_uri ;-) iptraf-2.7.0-ipv6-alpha11.diff
>>> Unpacking source...
>>> Unpacking iptraf-2.7.0.tar.gz to /var/tmp/portage/iptraf-2.7.0-r1/work
* Applying iptraf-2.7.0-atheros.patch ... [ ok ]
* Applying iptraf-2.7.0-ipv6-alpha11.diff ... [ ok ]
>>> Source unpacked.
rm -f *.o *~ core iptraf rvnamed rawtime cfconv
make -C ../support clean
make[1]: Entering directory `/var/tmp/portage/iptraf-2.7.0-r1/work/iptraf-2.7.0/support'
rm -rf *.o *~ libtextbox.a libtextbox.so
make[1]: Leaving directory `/var/tmp/portage/iptraf-2.7.0-r1/work/iptraf-2.7.0/support'
gcc -O2 -mcpu=i686 -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I/usr/include/ncurses -I../support -DVERSION=\"2.7.0\" -DPLATFORM=\"Linux/i386\" -c -o iptraf.o iptraf.c
In file included from tcptable.h:27,
from iptraf.c:54:
/usr/include/net/if.h:45: error: syntax error before numeric constant
/usr/include/net/if.h:111: error: redefinition of `struct ifmap'
/usr/include/net/if.h:126: error: redefinition of `struct ifreq'
/usr/include/net/if.h:176: error: redefinition of `struct ifconf'
make: *** [iptraf.o] Error 1
!!! ERROR: net-analyzer/iptraf-2.7.0-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rogueip n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Sep 2005 Posts: 3
|
Posted: Sun Sep 11, 2005 3:12 pm Post subject: |
|
|
sorry for the *bump* |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rogueip n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 11 Sep 2005 Posts: 3
|
Posted: Fri Sep 23, 2005 7:58 am Post subject: |
|
|
*bump* |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Fractallyte n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Feb 2006 Posts: 13
|
Posted: Sun Jul 16, 2006 6:19 am Post subject: |
|
|
Emerge the latest linux-headers!
I had the same problem; the iptraf ebuild should apply *three* patches (your dump only showed two). It'll apply the third patch when it finds the correct linux-headers.
Hope this helps! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|