nss-mysql-users
[Top][All Lists]
Advanced

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

[Nss-mysql-users] Compile error on version 0.43


From: Turtle
Subject: [Nss-mysql-users] Compile error on version 0.43
Date: Tue, 27 May 2003 21:31:33 +0100
User-agent: KMail/1.4.3

Hi all,

I'm trying to compile nss-mysql on a Linux From Scratch box. I've installed 
mysql version 4.0.12. Configure seems to go well, but make gives some errors. 
Does anyone have a sollution? I've added the output of both commands to give 
a more clear view.

Regards 

Enrico

|-----------------------------------------------------------------------------------------------------------|
address@hidden nss-mysql-0.43> ./configure --enable-debug
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
configure: Defaulting configuration directory to "/etc"
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc -s
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -s accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... gawk
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -s -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for pthread_mutex_lock in -lpthread... yes
checking for zlibVersion in -lz... yes
checking Mysql installation directory...  lib = /usr/lib/mysql, include = 
/usr/include/mysql
checking for mysql_real_connect in -lmysqlclient_r... no
checking for mysql_real_connect in -lmysqlclient... yes
checking for my_thread_init in -lmysqlclient... no
checking for my_thread_init in -lmysys... yes
checking mysql.h usability... yes
checking mysql.h presence... yes
checking for mysql.h... yes
checking for ANSI C header files... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking nsswitch.h usability... no
checking nsswitch.h presence... no
checking for nsswitch.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for gcc -s option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for gid_t... yes
checking for stdlib.h... (cached) yes
checking for working malloc... no
checking whether lstat dereferences a symlink specified with a trailing 
slash... no
checking whether stat accepts an empty string... no
checking for endgrent... yes
checking for endpwent... yes
checking for getspnam... yes
checking for memset... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for vasprintf... yes
checking for mysql_real_escape_string... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating tests/Makefile
config.status: creating src/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing default-1 commands

|--------------------------------------------------------------------------------------------------------|

address@hidden nss-mysql-0.43> make
Making all in tests
make[1]: Entering directory `/usr/src/nss-mysql-0.43/tests'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/nss-mysql-0.43/tests'
Making all in src
make[1]: Entering directory `/usr/src/nss-mysql-0.43/src'
/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.   
-I/usr/include/mysql  -DSYSCONFDIR=\"/etc\" -D_REENTRANT  -g -O2 -W -Wall 
-Wstrict-prototypes -Wpointer-arith -Wundef -c parser.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -DSYSCONFDIR=\"/etc\" 
-D_REENTRANT -g -O2 -W -Wall -Wstrict-prototypes -Wpointer-arith -Wundef -c 
parser.c  -fPIC -DPIC -o parser.lo
nss-mysql.h:4: warning: `nss_mysql_version' defined but not used
/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.   
-I/usr/include/mysql  -DSYSCONFDIR=\"/etc\" -D_REENTRANT  -g -O2 -W -Wall 
-Wstrict-prototypes -Wpointer-arith -Wundef -c lib.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -DSYSCONFDIR=\"/etc\" 
-D_REENTRANT -g -O2 -W -Wall -Wstrict-prototypes -Wpointer-arith -Wundef -c 
lib.c
-fPIC -DPIC -o lib.lo
nss-mysql.h:4: warning: `nss_mysql_version' defined but not used
/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.   
-I/usr/include/mysql  -DSYSCONFDIR=\"/etc\" -D_REENTRANT  -g -O2 -W -Wall 
-Wstrict-prototypes -Wpointer-arith -Wundef -c shadow.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -DSYSCONFDIR=\"/etc\" 
-D_REENTRANT -g -O2 -W -Wall -Wstrict-prototypes -Wpointer-arith -Wundef -c 
shadow.c  -fPIC -DPIC -o shadow.lo
nss-mysql.h:4: warning: `nss_mysql_version' defined but not used
/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.   
-I/usr/include/mysql  -DSYSCONFDIR=\"/etc\" -D_REENTRANT  -g -O2 -W -Wall 
-Wstrict-prototypes -Wpointer-arith -Wundef -c passwd.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -DSYSCONFDIR=\"/etc\" 
-D_REENTRANT -g -O2 -W -Wall -Wstrict-prototypes -Wpointer-arith -Wundef -c 
passwd.c  -fPIC -DPIC -o passwd.lo
nss-mysql.h:4: warning: `nss_mysql_version' defined but not used
/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.   
-I/usr/include/mysql  -DSYSCONFDIR=\"/etc\" -D_REENTRANT  -g -O2 -W -Wall 
-Wstrict-prototypes -Wpointer-arith -Wundef -c group.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -DSYSCONFDIR=\"/etc\" 
-D_REENTRANT -g -O2 -W -Wall -Wstrict-prototypes -Wpointer-arith -Wundef -c 
group.c  -fPIC -DPIC -o group.lo
nss-mysql.h:4: warning: `nss_mysql_version' defined but not used
/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.   
-I/usr/include/mysql  -DSYSCONFDIR=\"/etc\" -D_REENTRANT  -g -O2 -W -Wall 
-Wstrict-prototypes -Wpointer-arith -Wundef -c ent.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/mysql -DSYSCONFDIR=\"/etc\" 
-D_REENTRANT -g -O2 -W -Wall -Wstrict-prototypes -Wpointer-arith -Wundef -c 
ent.c
-fPIC -DPIC -o ent.lo
In file included from ent.c:37:
/usr/include/mysql/my_pthread.h:500: parse error before '*' token
/usr/include/mysql/my_pthread.h:500: warning: function declaration isn't a 
prototype
nss-mysql.h:4: warning: `nss_mysql_version' defined but not used
make[1]: *** [ent.lo] Error 1
make[1]: Leaving directory `/usr/src/nss-mysql-0.43/src'
make: *** [all-recursive] Error 1


-- 
"The stickers on the side of the box said "Supported Platforms: Windows 98,
Windows NT 4.0, Windows 2000 or better", so clearly Linux was a supported
platform."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]