GNOME Bugzilla – Bug 95982
Can't build
Last modified: 2004-12-22 21:47:04 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.
*** This bug has been marked as a duplicate of 97718 ***