Error compiling on Solaris

Craig A. Betts craig.betts at dfrc.nasa.gov
Wed Jul 9 17:04:08 CEST 2003


Benedikt Meurer wrote:
> On Tue, 08, Jul 2003, Craig A. Betts wrote:
> 
> 
>>Got it, thanks.  Still get an error when compiling xfce4-session:
>>
>><<==--  SNIP  --==>>
>>util.c: In function `xfce_gethostname':
>>util.c:133: `MAXHOSTNAMELEN' undeclared (first use in this function)
>>util.c:133: (Each undeclared identifier is reported only once
>>util.c:133: for each function it appears in.)
>><<==-- UNSNIP --==>>
> 
> 
> Ups, typo. Edit util.c and replace
> 
> #ifdef MAXHOSTNAMELEN
> 
> with
> 
> #ifndef MAXHOSTNAMELEN
> 
> then it should work.
> 
> 
>>Craig A. Betts
> 
> 
> Benedikt
> 

Sorry, I found another one...

<<==--  SNIP  --==>>
gcc -g -O2 -o xfce4-session xfce4_session-client.o 
xfce4_session-client-list.o xfce4_session-ice-layer.o 
xfce4_session-main.o xfce4_session-manager.o xfce4_session-shutdown.o 
xfce4_session-splash-screen.o xfce4_session-startup.o 
xfce4_session-tray-icon.o xfce4_session-util.o  -L/usr/openwin/lib 
-L/usr/local/lib /usr/local/lib/libxfce4mcs-client.so 
/usr/local/lib/libxfcegui4.so -lSM -lICE -lsocket -lnsl -lX11 
/usr/local/lib/libgtk-x11-2.0.so /usr/local/lib/libxfce4util.so 
/usr/local/lib/libgdk-x11-2.0.so /usr/local/lib/libatk-1.0.so 
/usr/local/lib/libgdk_pixbuf-2.0.so -lm /usr/local/lib/libpangox-1.0.so 
/usr/local/lib/libpango-1.0.so /usr/local/lib/libgobject-2.0.so 
/usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so 
-lXext -R/usr/local/lib -R/usr/local/lib -R/usr/openwin/lib
Undefined                       first referenced
  symbol                             in file
setenv                              xfce4_session-manager.o
ld: fatal: Symbol referencing errors. No output written to xfce4-session
collect2: ld returned 1 exit status
make[2]: *** [xfce4-session] Error 1
make[2]: Leaving directory 
`/home/cbetts/xfce/xfce4-session-0.0.22/xfce4-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cbetts/xfce/xfce4-session-0.0.22'
make: *** [all] Error 2
<<==-- UNSNIP --==>>

Maybe one day I will learn to program and contribute code instead of 
critisism!  I appreciate your help, none the less!  ;-)
-- 
Craig A. Betts
IT Security Design Engineer
Arcata Associates, Inc. - Dryden Flight Research Center - NASA
Voice: (661) 276-2085     Pager: (661) 276-3038 #4010




More information about the Xfce4-dev mailing list