Hi everyone,
I have been trouble compiling VNC version vnc-4_1_1-unixsrc on Solaris 10
(sparc).
The hardware is SunOS 5.10 Generic_118822-20 sun4u sparc SUNW,Ultra-80
This is the compilation out:
# ./configure
creating cache ./config.cache
configuring common...
creating cache ./config.cache
checking for gcc... /usr/local/bin/gcc
checking whether the C compiler (/usr/local/bin/gcc ) works... yes
checking whether the C compiler (/usr/local/bin/gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/local/bin/gcc accepts -g... (cached) no
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... (cached) no
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking how to run the C++ preprocessor... c++ -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
configuring zlib...
Building static library libz.a version 1.1.4 with /usr/local/bin/gcc.
Checking for unistd.h... Yes.
Checking for errno.h... Yes.
Checking for mmap support... Yes.
...done configuring zlib
checking for vsnprintf... yes
checking for socklen_t... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating rdr/Makefile
creating network/Makefile
creating Xregion/Makefile
creating rfb/Makefile
...done configuring common
checking for gcc... /usr/local/bin/gcc
checking whether the C compiler (/usr/local/bin/gcc ) works... yes
checking whether the C compiler (/usr/local/bin/gcc ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/local/bin/gcc accepts -g... (cached) no
checking for c++... c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... (cached) no
checking for ranlib... ranlib
checking whether make sets ${MAKE}... yes
checking how to run the C++ preprocessor... c++ -E
checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include
checking whether -R must be followed by a space... no
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tx/Makefile
creating x0vncserver/Makefile
creating vncviewer/Makefile
creating vncconfig/Makefile
creating vncpasswd/Makefile
# make
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c example.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c adler32.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c compress.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c crc32.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c gzio.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c uncompr.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c deflate.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c trees.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c zutil.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c inflate.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c infblock.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c inftrees.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c infcodes.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c infutil.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c inffast.c
ar rc libz.a adler32.o compress.o crc32.o gzio.o uncompr.o deflate.o trees.o
zutil.o inflate.o infblock.o inftrees.o infcodes.o infutil.o inffast.o
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -o example example.o -L.
-lz
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -c minigzip.c
/usr/local/bin/gcc -O3 -DHAVE_UNISTD_H -DUSE_MMAP -o minigzip minigzip.o -L.
-lz
c++ -I.. -I../zlib -O2 -Wall -Wno-unknown-pragmas -Wno-implicit-int
-fpermissive -c Exception.cxx
cc1plus: warning: "-Wno-implicit-int" is valid for C/ObjC but not for C++
c++ -I.. -I../zlib -O2 -Wall -Wno-unknown-pragmas -Wno-implicit-int
-fpermissive -c FdInStream.cxx
cc1plus: warning: "-Wno-implicit-int" is valid for C/ObjC but not for C++
c++ -I.. -I../zlib -O2 -Wall -Wno-unknown-pragmas -Wno-implicit-int
-fpermissive -c FdOutStream.cxx
cc1plus: warning: "-Wno-implicit-int" is valid for C/ObjC but not for C++
c++ -I.. -I../zlib -O2 -Wall -Wno-unknown-pragmas -Wno-implicit-int
-fpermissive -c InStream.cxx
cc1plus: warning: "-Wno-implicit-int" is valid for C/ObjC but not for C++
c++ -I.. -I../zlib -O2 -Wall -Wno-unknown-pragmas -Wno-implicit-int
-fpermissive -c RandomStream.cxx
cc1plus: warning: "-Wno-implicit-int" is valid for C/ObjC but not for C++
In file included from /usr/include/sys/wait.h:24,
from /usr/include/stdlib.h:22,
from RandomStream.cxx:22:
/usr/include/sys/siginfo.h:259: error: 'ctid_t' is used as a type, but is
not
defined as a type.
/usr/include/sys/siginfo.h:390: error: 'ctid_t' is used as a type, but is
not
defined as a type.
*** Error code 1
make: Fatal error: Command failed for target `RandomStream.o'
Current working directory /export/home/nagios/vnc-4_1_1-unixsrc/common/rdr
*** Error code 1
The following command caused the error:
subdirs="zlib rdr network Xregion rfb"; for d in $subdirs; do (cd $d; make
all) || exit 1; done
make: Fatal error: Command failed for target `all'
Current working directory /export/home/nagios/vnc-4_1_1-unixsrc/common
*** Error code 1
The following command caused the error:
subdirs="../common tx vncviewer vncconfig vncpasswd x0vncserver"; for d in
$subdirs; do (cd $d; make all) || exit 1; done
make: Fatal error: Command failed for target `all'
Can you please help me ?
Regards,
Rodrigo
_________________________________________________________________
MSN Amor: busca tu = naranja http://latam.msn.com/amor/
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list