Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ethereal-0.10.3 compile problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
gdoubleu
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2003
Posts: 80

PostPosted: Sun Apr 25, 2004 5:57 am    Post subject: ethereal-0.10.3 compile problem [solved] Reply with quote

getting this error when trying to emerge ethereal. suggestions?
Code:
...
source='ps.c' object='ps.o' libtool=no \
depfile='.deps/ps.Po' tmpdepfile='.deps/ps.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap -I/usr/local/include -DINET6 -march=pentium3 -O3 -pipe -mmmx -msse -fomit-frame-pointer -Dlinux -I. -I/usr/include  -DINET6 -D_U_="__attribute__((unused))" -Wall -W -march=pentium3 -O -pipe -mmmx -msse -fomit-frame-pointer -I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -DINET6 -march=pentium3 -O3 -pipe -mmmx -msse -fomit-frame-pointer -Dlinux -I. -I/usr/include -c `test -f 'ps.c' || echo './'`ps.c
/usr/lib/libnetsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libnetsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libnetsnmp.so: undefined reference to `des_ncbc_encrypt'
collect2: ld returned 1 exit status
make[2]: *** [dftest] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/ethereal-0.10.3/work/ethereal-0.10.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ethereal-0.10.3/work/ethereal-0.10.3'
make: *** [all] Error 2

!!! ERROR: net-analyzer/ethereal-0.10.3 failed.
!!! Function src_compile, Line 74, Exitcode 2
!!! compile problem


Last edited by gdoubleu on Wed May 05, 2004 6:20 am; edited 1 time in total
Back to top
View user's profile Send private message
nick125
n00b
n00b


Joined: 24 Apr 2004
Posts: 19

PostPosted: Mon Apr 26, 2004 12:13 am    Post subject: Reply with quote

What version of libtool are you running? If lower then 1.5, try
Code:
ACCEPT_KEYWORDS="~x86" emerge libtool

This could be the cause of the errors you are getting.

Thanks,
Nick125
Back to top
View user's profile Send private message
gdoubleu
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2003
Posts: 80

PostPosted: Mon Apr 26, 2004 5:46 am    Post subject: Reply with quote

Thanks for the suggestion, but that didn't help.
I'm still getting the same error.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Mon Apr 26, 2004 6:59 am    Post subject: Reply with quote

Do you have net-snmp installed?

emerge -p net-snmp and see if it says "R"

Also check if you have openssl installed

emerge -p openssl

I've googled and found a few almost identical errors to yours, they recommended checking the above packages.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Mon Apr 26, 2004 3:27 pm    Post subject: Reply with quote

Try the following:

Code:
revdep-rebuild


This will rebuild any broken packages on your system, which I suspect may include net-snmp. Note that the above programme is part of gentoolkit, so you may need to install that first.
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
gdoubleu
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2003
Posts: 80

PostPosted: Thu Apr 29, 2004 7:02 am    Post subject: Reply with quote

stonent wrote:
Do you have net-snmp installed?

emerge -p net-snmp and see if it says "R"

Also check if you have openssl installed

emerge -p openssl

yes, i have both installed. guess i will try robmoss2k's idea next.
Back to top
View user's profile Send private message
gdoubleu
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2003
Posts: 80

PostPosted: Thu Apr 29, 2004 3:50 pm    Post subject: Reply with quote

hmmmm, just noticed this at the beginning of the ethereal emerge
Code:
>>> emerge (1 of 48) net-analyzer/ethereal-0.10.3 to /
>>> md5 src_uri ;-) ethereal-0.10.3.tar.bz2
>>> Unpacking source...
>>> Unpacking ethereal-0.10.3.tar.bz2 to /var/tmp/portage/ethereal-0.10.3/work
 * Patching ${S}/ltmain.sh...
 *   Could not apply portage.patch!
 *   Please verify that it is not needed.
 *   Applying relink-1.4.3.patch...
 *   Applying tmp-1.3.5.patch...
>>> Source unpacked.


i wonder why it was unable to apply the portage.patch and if that would be the cause for the compile failure.
Back to top
View user's profile Send private message
gdoubleu
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2003
Posts: 80

PostPosted: Wed May 05, 2004 6:20 am    Post subject: Reply with quote

well, reemerged net-snmp, and that seemed to solve the problem
Back to top
View user's profile Send private message
leson
n00b
n00b


Joined: 24 Aug 2003
Posts: 8

PostPosted: Wed May 05, 2004 5:59 pm    Post subject: Reply with quote

gdoubleu wrote:
well, reemerged net-snmp, and that seemed to solve the problem


That did it for me too, thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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