Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptraf emerge problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rogueip
n00b
n00b


Joined: 11 Sep 2005
Posts: 3

PostPosted: Sun Sep 11, 2005 4:05 am    Post subject: iptraf emerge problem Reply with quote

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
View user's profile Send private message
rogueip
n00b
n00b


Joined: 11 Sep 2005
Posts: 3

PostPosted: Sun Sep 11, 2005 3:12 pm    Post subject: Reply with quote

sorry for the *bump*
Back to top
View user's profile Send private message
rogueip
n00b
n00b


Joined: 11 Sep 2005
Posts: 3

PostPosted: Fri Sep 23, 2005 7:58 am    Post subject: Reply with quote

*bump*
Back to top
View user's profile Send private message
Fractallyte
n00b
n00b


Joined: 04 Feb 2006
Posts: 13

PostPosted: Sun Jul 16, 2006 6:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum