Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67375 - cnet does not work with elfutils (cannot get ELFinfo) but does with libelf
Summary: cnet does not work with elfutils (cannot get ELFinfo) but does with libelf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 05:47 UTC by Surakshan Mendis
Modified: 2004-11-21 03:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Surakshan Mendis 2004-10-13 05:47:09 UTC
cnet-2.0.5 and 2.0.9 (ebuild see #66275  for ebuild) doesn't work with elfutils.
When compiled with elfutils and run the following error occers

$ cnet TICKTOCK.top
 compiling ticktock.c
 linking ./ticktock.cnet
 cannot get ELFinfo
$

note, ELFinfo is a local type in .../cnet/compile/linux.c

Reproducible: Always
Steps to Reproduce:
1. Compile/emerge cnet with elfutils on system
2. run cnet with source file or topology file

Actual Results:  
errors out with 
"cannot get ELFinfo"

Expected Results:  
cnet GUI to open

emerge info
Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -m32 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -m32 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.uwa.edu.au/mirrors/linux/gentoo/
ftp://mirror.pacific.net.au/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd f77
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww lirc mad
mikmod motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl
png ppds python quicktime readline samba sdl slang spell ssl svga tcltk tcpd
truetype x86 xml2 xprint xv xvid zlib"
Comment 1 Surakshan Mendis 2004-10-13 05:49:39 UTC
the fix..

unmerge elfuils
emerge libelf

$ emerge cnet

elfutils is said to be a "drop in replacement" for libelf... but it doesn't work with cnet. I do not know at this stage what if any software will break by changing to libelf..all I know is recompiling cnet work AFTER elfuilts is replaced with libelf.
Comment 2 Eldad Zack (RETIRED) gentoo-dev 2004-11-21 03:41:29 UTC
in portage