Mailinglist Archive: proxy-suite (16 mails)
| < Previous | Next > |
Re: [proxy-suite] proxy-suite + solaris
- From: Marius Tomaschewski <mt@xxxxxxx>
- Date: Tue, 28 Aug 2001 09:47:31 +0000 (UTC)
- Message-id: <20010828115222.B13695@xxxxxxx>
On Wed, Aug 22, 2001 at 09:10:51AM +0200, Ulrich Hiller wrote:
> Dear all,
> does anybody know a way how to 'make' the proxy-suite on sun solaris 7
> and 8 without running
> into symbol referencing errors and other problems?
> When I first do a make I get the following:
>
> 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
> *** Error code 1
> make: Fatal error: Command failed for target `libcommon.a(com-socket.o)'
>
> Current working directory /proxy-suite-1.7/common
> *** Error code 1
> make: Fatal error: Command failed for target `all'
Stefan Landvoigt <Stefan.Landvoigt@xxxxxxxx> send me this defines
you may need in com-socket.c:
#define SOLARIS 1
#if defined (SOLARIS)
#include <stropts.h>
#include <sys/conf.h>
#include <netinet/in_systm.h>
#define FIONREAD I_NREAD
#endif
does it work in this way?
cu,
Marius Tomaschewski <mt@xxxxxxx>
--
SuSE GmbH, Hamburg --- SuSE Labs, Product Developement
GPG/PGP public key see: http://www.suse.de/~mt/mt.pgp
Key-FP: DF17 271A AD15 006A 5BB9 6C96 CA2F F3F7 373A 1CC0
> Dear all,
> does anybody know a way how to 'make' the proxy-suite on sun solaris 7
> and 8 without running
> into symbol referencing errors and other problems?
> When I first do a make I get the following:
>
> 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
> *** Error code 1
> make: Fatal error: Command failed for target `libcommon.a(com-socket.o)'
>
> Current working directory /proxy-suite-1.7/common
> *** Error code 1
> make: Fatal error: Command failed for target `all'
Stefan Landvoigt <Stefan.Landvoigt@xxxxxxxx> send me this defines
you may need in com-socket.c:
#define SOLARIS 1
#if defined (SOLARIS)
#include <stropts.h>
#include <sys/conf.h>
#include <netinet/in_systm.h>
#define FIONREAD I_NREAD
#endif
does it work in this way?
cu,
Marius Tomaschewski <mt@xxxxxxx>
--
SuSE GmbH, Hamburg --- SuSE Labs, Product Developement
GPG/PGP public key see: http://www.suse.de/~mt/mt.pgp
Key-FP: DF17 271A AD15 006A 5BB9 6C96 CA2F F3F7 373A 1CC0
| < Previous | Next > |