GDM compile on Solaris v2.6



Hi all,

While trying to compile GDM v2.0beta4 on a Solaris v2.6 machine, I get
the following error:

make[2]: Entering directory
`/home/dsnstar3/dsngrle/gnome/gdm-2.0beta4/daemon'
/bin/sh ../libtool --mode=link /usr/local/bin/gcc  -g -O2 -g -Wall 		
-Wpointer-arith  		-Wmissing-prototypes -Wmissing-declarations 
-L/usr/local/lib -R/usr/local/lib -o gdm  gdm.o slave.o server.o
verify.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o
-L/usr/local/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgnome
-lgnomesupport -lesd -lresolv -lposix4 -lnsl -lsocket -laudiofile -lm
-ldb -lglib -ldl -lXdmcp -lXau -lX11  -lpam 
/usr/local/bin/gcc -g -O2 -g -Wall -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -L/usr/local/lib -o gdm gdm.o slave.o server.o
verify.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o
-L/usr/local/lib -L/usr/openwin/lib -lgnome -lgnomesupport -lesd
-lresolv -lposix4 -lnsl -lsocket -laudiofile -lm -ldb -lglib -ldl
-lXdmcp -lXau -lX11 -lpam -R/usr/local/lib -R/usr/openwin/lib
-R/usr/local/lib -R/usr/openwin/lib
Undefined			first referenced
 symbol  			    in file
setenv                              slave.o
ld: fatal: Symbol referencing errors. No output written to gdm
collect2: ld returned 1 exit status

So - the "setenv" function seems to be missing. A look for a "setenv"
function man page comes up with nothing. On my Linux machine, "setenv"
is a part of libc - but manually linking in libc with "-lc" makes no
difference under Solaris.

Can anyone tell me whether the "setenv" function exists on Solaris v2.6
or not, and if not what the equivalent function to use is?

Regards,
Graham
--




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]