Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Issues compiling tcl extension

Status
Not open for further replies.

smugindividual

Programmer
Apr 14, 2003
104
0
0
US
I've downloaded the ldap extenstion for tcl from (ldap.tgz)

I unpackaged it and configured with the following command(where /h/COTS?TCLTK is the location of th installed tcltk) (the error list is far worse without the flags):


./configure --enable-gcc --prefix /h/COTS/TCLTK --exec-prefix /h/COTS/TCLTK --libdir /h/COTS/TCLTK/lib

RESULTS:
loading cache ./config.cache
checking for ranlib... (cached) ranlib
checking for gcc... (cached) /usr/local/bin/gcc
checking whether we are using GNU C... (cached) yes
checking whether /usr/local/bin/gcc accepts -g... (cached) yes
checking whether cross-compiling... (cached) yes
checking for strerror... (cached) no
checking how to run the C preprocessor... (cached) /usr/local/bin/gcc -E
checking for errno.h... (cached) yes
checking for float.h... (cached) yes
checking for values.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking proper strstr implementation... broken, using substitute
checking for strtod... (cached) no
checking for strtod... (cached) no
checking for ANSI C header files... (cached) yes
checking for mode_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking for strncasecmp... (cached) no
checking for -lsocket... (cached) no
checking for -linet... (cached) no
checking for -linet... (cached) no
checking for net/errno.h... (cached) no
checking whether char is unsigned... (cached) no
checking signed char declarations... yes
checking for connect... (cached) no
checking for -lsocket... (cached) no
checking for accept... (cached) no
checking for gethostbyname... (cached) no
checking for -lnsl... (cached) no
checking system version (for dynamic loading)... SunOS-5.8
checking for -ldl... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/filio.h... (cached) yes
checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... O_NONBLOCK
creating ./config.status
creating Makefile
creating pkgIndex.tcl


THEN I RUN MAKE AND GET THE FOLLOWING:

/usr/local/bin/gcc -c -O -DTDAP_VERSION=\"3.0\" -fPIC -I./../. -I. -I/h/COTS/TCLTK/include -DNO_STRERROR=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DTCL_SHLIB_EXT=\".so\" ./.././tdap.c
./.././tdap.c: In function `LdapObjCmd':
./.././tdap.c:269: error: dereferencing pointer to incomplete type
./.././tdap.c:295: error: dereferencing pointer to incomplete type
./.././tdap.c:324: error: dereferencing pointer to incomplete type
./.././tdap.c:342: error: dereferencing pointer to incomplete type
./.././tdap.c:484: error: dereferencing pointer to incomplete type
./.././tdap.c:515: error: dereferencing pointer to incomplete type
./.././tdap.c:606: error: dereferencing pointer to incomplete type
./.././tdap.c:627: error: dereferencing pointer to incomplete type
./.././tdap.c:684: error: dereferencing pointer to incomplete type
./.././tdap.c:703: error: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `tdap.o'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top