On 2007-12-18, Kerem Yazici wrote:
> I am trying to compile this library file but I am getting error message as 
> below.
 
  Unfortunately, I don't have a 10.5 box to test on.
  The unitialized value errors are... odd.

  Unfortunately, right now I'm sitting with 707 hours to complete my thesis.  
So I don't have a lot of time to dig into this.

  For now I'll punt to fink-devel.

  Sorry I can't be of more help.

~crh

> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-libnasl3-ssl-2.2.6-1 
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-libnasl3-ssl-2.2.6-1' in 
> `/sw/src/fink.build/fink-buildlock-libnasl3-ssl-2.2.6-1_2007.12.18-15.11.08_darwin-i386.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-libnasl3-ssl-2.2.6-1_2007.12.18-15.11.08_darwin-i386.deb
> Selecting previously deselected package 
> fink-buildlock-libnasl3-ssl-2.2.6-1.
> (Reading database ... 29017 files and directories currently installed.)
> Unpacking fink-buildlock-libnasl3-ssl-2.2.6-1 (from 
> .../fink-buildlock-libnasl3-ssl-2.2.6-1_2007.12.18-15.11.08_darwin-i386.deb) 
> ...
> Setting up fink-buildlock-libnasl3-ssl-2.2.6-1 (2007.12.18-15.11.08) ...
> gzip -dc /sw/src/libnasl-2.2.6.tar.gz | /sw/bin/tar -xf -  --no-same-owner 
> --no-same-permissions
> Use of uninitialized value in list assignment at 
> /sw/lib/perl5/Fink/PkgVersion.pm line 4907, <STDIN> line 1.
> Use of uninitialized value in list assignment at 
> /sw/lib/perl5/Fink/PkgVersion.pm line 4907, <STDIN> line 1.
> Use of uninitialized value in list assignment at 
> /sw/lib/perl5/Fink/PkgVersion.pm line 4907, <STDIN> line 1.
> Use of uninitialized value in list assignment at 
> /sw/lib/perl5/Fink/PkgVersion.pm line 4907, <STDIN> line 1.
> ./configure --prefix=/sw --with-pic --enable-shared --enable-static 
> --mandir=/sw/share/man --infodir=/sw/share/info --libexecdir=/sw/lib 
> --with-ssl
> creating cache ./config.cache
> checking for gcc... gcc
> checking whether the C compiler (gcc  -L/sw/lib) works... yes
> checking whether the C compiler (gcc  -L/sw/lib) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking how to run the C preprocessor... gcc -E
> checking host system type... i686-apple-darwin9.1.0
> checking build system type... i686-apple-darwin9.1.0
> checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
> checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is 
> GNU ld... no
> checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload 
> object files... -r
> checking for BSD-compatible nm... /usr/bin/nm -p
> checking whether ln -s works... yes
> checking how to recognise dependant libraries... file_magic Mach-O 
> dynamically linked shared library
> checking for object suffix... o
> checking for executable suffix... rm: conftest.dSYM: is a directory
> .dSYM
> checking command to parse /usr/bin/nm -p output... rm: conftest.dSYM: is a 
> directory
> rm: conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> rm: conftest.dSYM: is a directory
> failed
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fno-common
> checking if gcc PIC flag -fno-common works... yes
> checking if gcc static flag -static works... no
> 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/libexec/gcc/i686-apple-darwin9/4.0.1/ld) 
> supports shared libraries... yes
> checking how to hardcode library paths into programs... unsupported
> checking whether stripping libraries is possible... no
> checking dynamic linker characteristics... darwin9.1.0 dyld
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> creating libtool
> checking whether make sets ${MAKE}... yes
> checking for a BSD compatible install... /usr/bin/install -c
> checking if the compiler understands -pipe... yes
> checking for nessus-config... /sw/bin/nessus-config
> checking for openssl/md2.h... yes
> checking for openssl/md4.h... yes
> checking for openssl/md5.h... yes
> checking for bison... /sw/bin/bison
> checking for ANSI C header files... no
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking whether time.h and sys/time.h may both be included... yes
> checking for dirent.h that defines DIR... yes
> checking for opendir in -ldir... no
> checking for -lrpcsvc... no
> checking for /usr/ucbinclude/fcntl.h... no
> checking for unistd.h... yes
> checking for getopt.h... yes
> checking for string.h... yes
> checking for strings.h... yes
> checking for sys/sockio.h... yes
> checking for sys/socketio.h... no
> checking for netinet/in.h... yes
> checking for netinet/in_systm.h... yes
> checking for netinet/ip.h... yes
> checking for netinet/ip_icmp.h... yes
> checking for netinet/ip.h... (cached) yes
> checking for netinet/udp.h... yes
> checking for netinet/protocols.h... no
> checking for netinet/ip_udp.h... no
> checking for netinet/ip_tcp.h... no
> checking for netinet/tcpip.h... yes
> checking for sys/param.h... yes
> checking for sys/ioctl.h... yes
> checking for rpc/rpc.h... yes
> checking for dlfcn.h... (cached) yes
> checking for sys/un.h... yes
> checking for memory.h... yes
> checking for ctype.h... yes
> checking for errno.h... yes
> checking for sys/types.h... yes
> checking for stdlib.h... yes
> checking for stdio.h... yes
> checking for pthread.h... yes
> checking for sys/filio.h... yes
> checking for pwd.h... yes
> checking for assert.h... yes
> checking for netdb.h... yes
> checking for netinet/in.h... (cached) yes
> checking for arpa/inet.h... yes
> checking for poll.h... yes
> checking for sys/poll.h... yes
> checking for netinet/ip_tcp.h... (cached) no
> checking for sys/stat.h... yes
> checking for stat.h... no
> checking for net/if.h... yes
> checking for sys/mman.h... yes
> checking for search.h... yes
> checking for locale.h... yes
> checking for sys/socket.h... yes
> checking for netinet/ip.h... (cached) yes
> checking for netinet/tcp.h... yes
> checking for working alloca.h... no
> checking for alloca... no
> checking whether alloca needs Cray hooks... no
> checking stack direction for C alloca... -1
> checking for lstat... no
> checking for memmove... no
> checking for gettimeofday... no
> checking for gethrtime... no
> checking for getrusage... no
> checking for rand... no
> checking for strchr... no
> checking for memcpy... no
> checking for select... no
> checking for poll... no
> checking for vsnprintf... no
> checking for memmem... no
> checking for bzero... no
> checking for bcopy... no
> checking for addr2ascii... no
> checking for inet_neta... no
> checking for signal... no
> checking for sigaction... no
> checking for wait... no
> checking for wait3... no
> checking for wait4... no
> checking for waitpid... no
> checking for lfind... no
> checking for lfind in -lcompat... no
> checking whether byte ordering is bigendian... no
> checking for time_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for uid_t in sys/types.h... yes
> checking size of short... 0
> checking size of int... 0
> checking size of long... 0
> checking struct ip contains ip_csum... no
> checking struct ip... yes
> checking struct ip has ip_hl... yes
> checking struct icmp... yes
> checking struct udphdr... yes
> checking BSD struct udphdr... yes
> checking struct tcphdr... yes
> checking struct tcphdr has th_off... yes
> checking struct tcphdr has th_x2_off... no
> checking for long file names... yes
> checking for inet_aton in -lc... no
> checking for inet_aton in -lresolv... no
> checking for inet_aton in -lsocket... no
> checking for inet_aton in -lnsl... no
> checking if sockaddr{} has sa_len member... yes
> checking for a working strndup implementation... no
> checking for pcap_restart in -lpcap... no
> checking for pcap_yyrestart in -lpcap... no
> checking for yyrestart in -lpcap... no
> no yacc restart func found
> perhaps libpcap wasn't compiled with bison/flex?
> updating cache ./config.cache
> creating ./config.status
> creating nasl.tmpl
> creating nasl-config
> creating include/config.h
> creating nasl/strutils.h
> make
> cd nasl && make
> /bin/sh /sw/src/fink.build/libnasl3-ssl-2.2.6-1/libnasl/libtool --silent 
> gcc -pipe -g -O2  `sh ./cflags`  -c nasl_packet_forgery.c
> In file included from /usr/include/memory.h:36,
>                  from ../include/includes.h:70,
>                  from nasl_packet_forgery.c:19:
> /usr/include/string.h:83: error: syntax error before '(' token
> /usr/include/string.h:83: error: syntax error before 'const'
> /usr/include/string.h:84: error: syntax error before '(' token
> /usr/include/string.h:119: error: syntax error before '(' token
> /usr/include/string.h:119: error: syntax error before 'void'
> /usr/include/string.h:120: error: syntax error before numeric constant
> /usr/include/string.h:120: error: conflicting types for 'memset'
> make[1]: *** [nasl_packet_forgery.o] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-libnasl3-ssl-2.2.6-1
> (Reading database ... 29018 files and directories currently installed.)
> Removing fink-buildlock-libnasl3-ssl-2.2.6-1 ...
> Failed: phase compiling: libnasl3-ssl-2.2.6-1 failed
> 
> Before reporting any errors, please run "fink selfupdate" and
> try again.  If you continue to have issues, please check to see if the
> FAQ on fink's website solves the problem.  If not, ask on the fink-users
> or fink-beginners mailing lists, with a carbon copy to the maintainer:
> 
>       Corey Halpin <[EMAIL PROTECTED]>
> 
> Note that this is preferable to emailing the maintainer directly, since
> most fink package maintainers do not have access to all possible
> hardware and software configurations.
> 
> --
> Package manager version: 0.27.9
> Distribution version: 0.8.1.rsync i386
> Mac OS X version: 10.5.1
> Xcode version: 3.0
> gcc version: 4.0.1 (Apple Inc. build 5465)
> make version: 3.81
> Feedback Courtesy of FinkCommander

Attachment: pgpqcPiLKRqwF.pgp
Description: PGP signature

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to