[Ldapdns-devel] Re: ldapdns rpms and problem
Brought to you by:
nimh
|
From: Simon M. <sim...@in...> - 2004-12-31 16:04:17
|
> That sounds like a GCC bug. > > On line 23 of ldapdns.c (it simply says HIT:) change it to: > > HIT:lp=lp; > > That should keep GCC happy. If that works, I'll restructure something > better for 2.07 Thanks, that fixed it. Simon > > > On Fri, 2004-12-31 at 13:48 +0100, Simon Matter wrote: >> Hi, >> >> I'm still maintaining ldapdns rpms but they have now moved to: >> http://www.invoca.ch/pub/packages/ldapdns/ >> >> Unfortunately the build doesn't work on Fedora Core 2 and 3 with the >> following errors: >> >> ./configure >> Configuring LDAPDNS >> Testing C compiler: gcc-pthread (cc) >> Checking for syslog support: ok >> Checking for memzero: bzero >> Checking for memcpy: ok >> Checking for IPV6 support: ok >> Checking for setsid() support: ok >> Checking for poll() support: ok >> Checking for waitpid() support: ok >> Checking for POSIX threads: ok >> Checking for non-portable pthreads extensions: >> pthread_kill_other_threads_np >> Checking OpenLDAP dependencies: ok >> Checking for OpenLDAP < 2.1.8: no >> Writing Makefile.config: done >> >> make -f Makefile.defs >> make[1]: Entering directory `/usr/src/redhat/BUILD/ldapdns-2.06' >> cc -I/usr/local/include -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 >> -pthread -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 >> -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID >> -DHAVE_pthread_kill_other_threads_np -o udpserver.o -c udpserver.c >> In file included from list.h:6, >> from config.h:12, >> from udpserver.c:1: >> error.h:26: warning: conflicting types for built-in function 'log' >> cc -I/usr/local/include -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 >> -pthread -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 >> -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID >> -DHAVE_pthread_kill_other_threads_np -o engine.o -c engine.c >> In file included from engine.c:1: >> error.h:26: warning: conflicting types for built-in function 'log' >> cc -I/usr/local/include -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 >> -pthread -DHAVE_SYSLOG -DHAVE_BZERO -DHAVE_MEMCPY -DHAVE_IPV6 >> -DHAVE_SETSID -DHAVE_POLL -DHAVE_WAITPID >> -DHAVE_pthread_kill_other_threads_np -o ldapdns.o -c ldapdns.c >> In file included from list.h:6, >> from ldapdns.h:13, >> from ldapdns.c:2: >> error.h:26: warning: conflicting types for built-in function 'log' >> ldapdns.c: In function `ldapdns_list_unique': >> ldapdns.c:24: error: label at end of compound statement >> make[1]: *** [ldapdns.o] Error 1 >> make[1]: Leaving directory `/usr/src/redhat/BUILD/ldapdns-2.06' >> make: *** [default] Error 2 >> error: Bad exit status from /var/tmp/rpm-tmp.15583 (%build) >> >> Regards and Happy new Year! >> Simon >> > > > |