After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 95982 - Can't build
Can't build
Status: RESOLVED DUPLICATE of bug 97718
Product: gtop
Classification: Deprecated
Component: general
2.0.x
Other Solaris
: Normal normal
: ---
Assigned To: Martin Baulig
Martin Baulig
Depends on:
Blocks:
 
 
Reported: 2002-10-16 20:47 UTC by Jonas Jonsson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Jonas Jonsson 2002-10-16 20:47:48 UTC
gnome-system-monitor: 2.0.2
gcc: 3.0.1

gcc  -O2 -pipe -mcpu=pentiumpro -I/opt/gnome2/include -g
-I/opt/gnome2/include -L/opt/gnome2/lib -L/opt/gnome2/lib -o
gnome-system-monitor  procman.o interface.o callbacks.o load-graph.o
proctable.o prettytable.o util.o infoview.o procactions.o procdialogs.o
memmaps.o favorites.o -Wl,--export-dynamic -R/usr/X11R6/lib
-L/opt/gnome2/lib -L/usr/local/lib -L/usr/X11R6/lib -L/opt/gnome2/lib
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomecanvas-2 -lgnome-2 -lart_lgpl_2
-lpangoft2-1.0 -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lxml2 -lz -lnsl
-lgconf-2 -lORBit-2 -lsocket -llinc -lgthread-2.0 -lpthread -lrt -lgtop-2.0
-lgtop_sysdeps-2.0 -lgtop_common-2.0 -lwnck-1 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lXft -lfreetype
-lXrender -lXext -lfontconfig -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0 -lintl -liconv   
util.o: In function `exec_su':
/usr/mntDir/gnome2build/garnome/garnome-0.17.1/gnome/gnome-system-monitor/work/gnome-system-monitor-2.0.2/src/util.c:92:
undefined reference to `getpt'
/usr/mntDir/gnome2build/garnome/garnome-0.17.1/gnome/gnome-system-monitor/work/gnome-system-monitor-2.0.2/src/util.c:156:
undefined reference to `asprintf'
/usr/mntDir/gnome2build/garnome/garnome-0.17.1/gnome/gnome-system-monitor/work/gnome-system-monitor-2.0.2/src/util.c:147:
undefined reference to `asprintf'
collect2: ld returned 1 exit status


Neither getpt nor asprintf exists on a Solaris ...... I've had the same
problem at work, building on a Sparc.
Comment 1 David Kennedy 2002-11-24 16:26:01 UTC

*** This bug has been marked as a duplicate of 97718 ***