[Date Prev][Date Next] [Chronological] [Thread] [Top]

parse errors during make (ITS#1023)



Full_Name: Eivind Nordbye
Version: 1.2.11
OS: Solaris 7 11/99
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.13.4.11)


I have trouble compiling OpenLDAP 1.2.11 on Solaris 7

environment:
LIBS= -L/usr/local/lib -lpthread -lposix4
LDFLAGS=-L/usr/local/lib
LD_LIBRARY_PATH=/usr/local/lib

% ./configure
% make depend

so fare ok - then:

% make
<only the error messages:>
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from base64.c:56:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[2]: *** [base64.o] Error 1
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from line64.c:10:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[2]: *** [line64.o] Error 1
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from decode.c:26:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[2]: *** [decode.lo] Error 1
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from bind.c:17:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[2]: *** [bind.lo] Error 1
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from ldapsearch.c:9:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
ldapsearch.c: In function `print_entry':
ldapsearch.c:484: warning: assignment makes pointer from integer without a cast
make[2]: *** [ldapsearch.o] Error 1
util.c: In function `mygetpass':
util.c:83: warning: assignment makes pointer from integer without a cast
util.c:87: warning: assignment makes pointer from integer without a cast
edit.c: In function `load_editor':
edit.c:140: warning: assignment makes pointer from integer without a cast
edit.c:197: warning: assignment makes pointer from integer without a cast
make[2]: *** No rule to make target `../../libraries/libldap/libldap.la', needed
by `version.c'.  Stop.
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from main.c:20:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[2]: *** [main.o] Error 1
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from go500gw.c:20:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
go500gw.c: In function `do_queries':
go500gw.c:374: warning: assignment makes pointer from integer without a cast
make[2]: *** [go500gw.o] Error 1
main.c: In function `send_errors':
main.c:1189: warning: assignment makes pointer from integer without a cast
make[2]: *** No rule to make target `../../libraries/libldap/libldap.la', needed
by `version.c'.  Stop.
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from rp500.c:20:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[2]: *** [rp500.o] Error 1
main.c: In function `send_reply':
main.c:277: warning: assignment makes pointer from integer without a cast
make[2]: *** No rule to make target `../../libraries/libldap/libldap.la', needed
by `version.c'.  Stop.
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../../include/ac/socket.h:37,
                 from idl.c:8:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[7]: *** [idl.o] Error 1
make[6]: *** [all-local-srv] Error 2
make[5]: *** [all-common] Error 2
make[5]: *** No rule to make target `.backend', needed by `libbackends.a'. 
Stop.
make[4]: *** [backendslib] Error 2
make[3]: *** [all-local-srv] Error 2
make[2]: *** [all-common] Error 2
In file included from /usr/include/pthread.h:14,
                 from ../../include/ldap_pvt_thread.h:24,
                 from slurp.h:31,
                 from admin.c:24:
/usr/include/sched.h:52: warning: `struct timespec' declared inside parameter
list
/usr/include/sched.h:52: warning: its scope is only this definition or
declaration, which is probably not what you want.
In file included from ../../include/ldap_pvt_thread.h:24,
                 from slurp.h:31,
                 from admin.c:24:
/usr/include/pthread.h:185: warning: `struct timespec' declared inside parameter
list
In file included from /usr/include/pthread.h:14,
                 from ../../include/ldap_pvt_thread.h:24,
                 from slurp.h:31,
                 from args.c:29:
/usr/include/sched.h:52: warning: `struct timespec' declared inside parameter
list
/usr/include/sched.h:52: warning: its scope is only this definition or
declaration, which is probably not what you want.
In file included from ../../include/ldap_pvt_thread.h:24,
                 from slurp.h:31,
                 from args.c:29:
/usr/include/pthread.h:185: warning: `struct timespec' declared inside parameter
list
In file included from /usr/include/arpa/nameser.h:454,
                 from ../../include/ac/socket.h:37,
                 from ch_malloc.c:22:
/usr/include/arpa/nameser_compat.h:93: parse error before string constant
make[3]: *** [ch_malloc.o] Error 1
make[2]: *** [all-common] Error 2

Any idea?