RE: build problem with 2.0.17 on HPUX 11.00



> -----Original Message-----
> From: Pawel Salek [mailto:pawsa@theochem.kth.se]
> Sent: Wednesday, April 07, 2004 11:12 AM
> To: Gansser, Martin
> Cc: balsa-list@gnome.org; Brian Stafford
> Subject: Re: build problem with 2.0.17 on HPUX 11.00
> 
> 
> 
> On 2004.04.07 10:33, Gansser, Martin wrote:
> > I tried to compile balsa 2.0.17 on HPUX 11.00 with gnome-2.4, but  
> > this fails with the following error message
> > [snip]
> > protocol.c:153: warning: implicit declaration of function `strdup'
> > protocol.c:153: warning: assignment makes pointer from integer  
> > without
> > a cast
> > protocol.c:215: error: `PF_UNSPEC' undeclared (first use in this
> > function)
> 
> What really fails is building the libesmtp component. Try including
> 
> #include <string.h>
> #include <sys/types.h>
> #include <sys/socket.h>
> 
> at top of protocol.c and please report whether it helps.
> 
> Pawel
correct, libesmtp fails, but same error as before:

/usr/local/include/openssl/ssl.h:1320: warning: function declaration isn't a prototype
/usr/local/include/openssl/ssl.h:1322: warning: function declaration isn't a prototype
protocol.c: In function `do_session':
protocol.c:155: warning: implicit declaration of function `strdup'
protocol.c:155: warning: assignment makes pointer from integer without a cast
protocol.c:217: error: `PF_UNSPEC' undeclared (first use in this function)
protocol.c:217: error: (Each undeclared identifier is reported only once
protocol.c:217: error: for each function it appears in.)
protocol.c:218: error: `SOCK_STREAM' undeclared (first use in this function)
protocol.c:230: warning: implicit declaration of function `socket'
protocol.c:236: warning: implicit declaration of function `connect'
protocol.c: In function `cb_ehlo':
protocol.c:727: warning: implicit declaration of function `strcasecmp'
protocol.c:739: warning: implicit declaration of function `strncasecmp'
make[3]: *** [protocol.lo] Error 1
make[3]: Leaving directory `/data/GARNOME/garnome-0.29.1_stable/fifth-toe/libesmtp/work/main.d/libes
mtp-1.0'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/GARNOME/garnome-0.29.1_stable/fifth-toe/libesmtp/work/main.d/libes
mtp-1.0'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/data/GARNOME/garnome-0.29.1_stable/fifth-toe/libesmtp/work/main.d/libes
mtp-1.0'
make: *** [build-work/main.d/libesmtp-1.0/Makefile] Error 2

Martin



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