Error compiling on Solaris

Craig A. Betts craig.betts at dfrc.nasa.gov
Tue Jul 8 21:40:52 CEST 2003


I got the following error while compiling xfce4-session on Solaris:

<<==--  SNIP  --==>>
if gcc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/openwin/include 
-I/usr/openwin/include -I/usr/openwin/include -I/usr/local/include/xfce4 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/openwin/include -I/usr/local/include/xfce4 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/atk-1.0 
-DDEFAULT_SESSION=\"/usr/local/etc/xfce4/default.session\" 
-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" 
-DSHUTDOWN_COMMAND=\"/usr/local/sbin/xfce4-shutdown\" 
-DSPLASH_THEMES_DIR=\"/usr/local/share/xfce4/splash\" -g -O2 -MT 
xfce4_session-util.o -MD -MP -MF ".deps/xfce4_session-util.Tpo" \
   -c -o xfce4_session-util.o `test -f 'util.c' || echo './'`util.c; \
then mv -f ".deps/xfce4_session-util.Tpo" ".deps/xfce4_session-util.Po"; \
else rm -f ".deps/xfce4_session-util.Tpo"; exit 1; \
fi
util.c: In function `xfce_gethostname':
util.c:130: `MAXHOSTNAMELEN' undeclared (first use in this function)
util.c:130: (Each undeclared identifier is reported only once
util.c:130: for each function it appears in.)
make[2]: *** [xfce4_session-util.o] Error 1
make[2]: Leaving directory 
`/home/cbetts/xfce/xfce4-cvs-20030708/xfce-devel/xfce4-session/xfce4-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/cbetts/xfce/xfce4-cvs-20030708/xfce-devel/xfce4-session'
make: *** [all] Error 2
<<==-- UNSNIP --==>>
-- 
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