compiling for solaris 8
Strohmayer Peter Hans <[email protected]> Mon, 22 Apr 2002 15:59:45 +0200
| Newsgroups | gmane.linux.suse.proxy-suite |
|---|---|
| Message-ID | <[email protected]> |
Hi,
i wants to run the proxy-suite with solaris 8, but have some problems
to compile the source.
Has anybody the proxy-suite running on a solaris 7/8 system?
[14234][root@ws6577][/tmp/proxy-suite-1.7] ./configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... ./install-sh -c
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for ar... /usr/ccs/bin/ar
checking for rm... /bin/rm
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking for POSIXized ISC... no
checking host system type... sparc-sun-solaris2.8
checking whether debugging is enabled... no
checking whether -W -Wall is enabled (for gcc)... no
checking whether -static is enabled (for gcc)... no
checking for inline... inline
checking for working const... yes
checking for ctags... ctags
checking for ANSI C header files... yes
checking for unistd.h... yes
checking for memory.h... yes
checking for syslog.h... yes
checking whether sys/syslog.h is needed... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for sys/select.h... yes
checking for sys/sockio.h... yes
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for wait3 that fills in rusage... no
checking for waitpid... yes
checking for setsid... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking return type of signal handlers... void
checking for u_int16_t... no
checking for u_int32_t... no
checking for gethostent in -lnsl... yes
checking for connect in -lsocket... yes
checking whether to enable /proc modules... no
checking whether to enable SO_LINGER... no
checking whether to enable RFC 1579 handling... no
checking whether to enable RFC 2428 handling... no
checking whether to use regular expressions... no
checking whether to use libwrap... no
checking whether to use LDAP... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating common/Makefile
creating ftp-proxy/Makefile
creating ftp-proxy/ftp-proxy.conf.5
creating ftp-proxy/ftp-proxy.8
creating config.h
[14235][root@ws6577][/tmp/proxy-suite-1.7] make
::::::::::::: make 'all' in ./doc
make[1]: Entering directory `/tmp/proxy-suite-1.7/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/proxy-suite-1.7/doc'
::::::::::::: make 'all' in ./common
make[1]: Entering directory `/tmp/proxy-suite-1.7/common'
ctags -w com-config.c com-debug.c com-misc.c com-socket.c com-syslog.c
com-config.h com-debug.h com-misc.h com-socket.h com-syslog.h
gcc -g -O2 -I. -I.. -c com-config.c
/usr/ccs/bin/ar r libcommon.a com-config.o
ar: creating libcommon.a
/bin/rm com-config.o
gcc -g -O2 -I. -I.. -c com-debug.c
/usr/ccs/bin/ar r libcommon.a com-debug.o
/bin/rm com-debug.o
gcc -g -O2 -I. -I.. -c com-misc.c
/usr/ccs/bin/ar r libcommon.a com-misc.o
/bin/rm com-misc.o
gcc -g -O2 -I. -I.. -c com-socket.c
In file included from com-socket.c:74:
/usr/include/netinet/ip.h:130: parse error before "n_long"
/usr/include/netinet/ip.h:133: parse error before "n_long"
/usr/include/netinet/ip.h:135: parse error before '}' token
/usr/include/netinet/ip.h:136: parse error before '}' token
com-socket.c: In function `socket_ll_read':
com-socket.c:934: `FIONREAD' undeclared (first use in this function)
com-socket.c:934: (Each undeclared identifier is reported only once
com-socket.c:934: for each function it appears in.)
com-socket.c: In function `socket_msgline':
com-socket.c:1132: warning: deprecated use of label at end of compound
statement
make[1]: *** [libcommon.a(com-socket.o)] Error 1
make[1]: Leaving directory `/tmp/proxy-suite-1.7/common'
make: *** [all] Error 1
Mit freundlichem GruÃ,
Ing. Peter Hans Strohmayer
Siemens Business Services
* Office: BU ORS GUD
* Tel: +43 5 1707 47564
* Fax: +43 5 1707 57560
* E-Mail: mailto:[email protected]
* Web: <http://www.sbs.at>
Die Hummel wiegt 4,8 Gramm. Sie hat eine Flügelfläche von 1,45 cm² - bei
einem Flächenwinkel von 6°.
Nach den Gesetzen der Aerodynamik kann die Hummel gar nicht fliegen. Zum
Glück weià sie das nicht.