Re: GDM compile on Solaris v2.6



I've got the same problem on AIX.

AIX doesn't have setenv.  But it is pretty simple to change
it to putenv which should be supported on Solaris.

I sent a bug report into gdm, and got a note that this has
already been fixed in the new version which hasn't been
published yet.

Dan

> 
> 
> 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
> --
> 
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list
> 




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