Compiling Xserver on Solaris 10

Alan Coopersmith alan.coopersmith at sun.com
Wed Sep 20 10:59:01 PDT 2006


Bencze Sándor wrote:
> Hi!
> I am compiling allready with the Sun Tools compiler and I got thi error:
> 
> /bin/bash ../../../libtool --tag=CC --mode=link cc 
> -DHAVE_XORG_CONFIG_H   -DXFree86Server  -DIN_MODULE -DXFree86Module  
> -DXFree86LOADER -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT 
> -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include   
> -I../../../include -I../../../include -I../../../Xext 
> -I../../../composite -I../../../damageext -I../../../xfixes 
> -I../../../Xi -I../../../mi -I../../../miext/shadow  
> -I../../../miext/damage -I../../../render -I../../../randr 
> -I../../../fb  -g   -o libddc.la -rpath /usr/local/lib/xorg/modules 
> -avoid-version xf86DDC.lo edid.lo interpret_edid.lo print_edid.lo 
> interpret_vdif.lo print_vdif.lo ddcProperty.lo  -lnsl -lsocket -lm
> cc -shared  .libs/xf86DDC.o .libs/edid.o .libs/interpret_edid.o 
> .libs/print_edid.o .libs/interpret_vdif.o .libs/print_vdif.o 
> libs/ddcProperty.o  -lnsl -lsocket -lm -lc  -Wl,-soname -Wl,libddc.so -o 
> .libs/libddc.so
> ld: fatal: file libddc.so: open failed: No such file or directory
> make[4]: *** [libddc.la] Error 1
> 
> How can I get this library or what else I have to istall before?

libddc.so is the library you are trying to build.   I don't know where
libtool got the -Wl options from, but they are incorrect for the Sun
compiler/linker.

It doesn't use them in my builds:

/bin/bash ../../../libtool --tag=CC --mode=link cc -DHAVE_XORG_CONFIG_H 
../../../hw/xfree86/os-support/solaris/solaris-ia32.il -D_BSD_SOURCE 
-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-I/usr/X11R6/include   -I../../../include -I../../../include -I../../../Xext 
-I../../../composite -I../../../damageext -I../../../xfixes -I../../../Xi 
-I../../../mi -I../../../miext/shadow  -I../../../miext/damage -I../../../render 
-I../../../randr -I../../../fb -v -xO4 -xbuiltin=%all -xlibmil -xstrconst 
-xildoff   -z combreloc -z defs 
-L/export/sata/alanc/X.org/mod/sx86/install/usr/X11R6/lib -R/usr/X11R6/lib 
-R/usr/lib -M /usr/lib/ld/map.pagealign -o libddc.la -rpath 
/usr/X11R6/lib/xorg/modules -avoid-version xf86DDC.lo edid.lo interpret_edid.lo 
  print_edid.lo interpret_vdif.lo print_vdif.lo ddcProperty.lo  -lnsl -lsocket -lm

cc -G -h libddc.so -o .libs/libddc.so  .libs/xf86DDC.o .libs/edid.o 
.libs/interpret_edid.o .libs/print_edid.o .libs/interpret_vdif.o 
.libs/print_vdif.o .libs/ddcProperty.o  -R/usr/X11R6/lib -R/usr/lib 
-L/export/sata/alanc/X.org/mod/sx86/install/usr/X11R6/lib -lnsl -lsocket -lm -lc

I'm using libtool 1.5.2 here, from the Solaris 10 Freeware Companion CD.

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg mailing list