I'm trying to build wget using fink, which depends on openssl100-dev and
openssl100-shlibs, and get, after a great deal of make/compiler noise ...
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -fPIC
-fno-common -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN
-Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM
-DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM
-I/sw/include -c -o dso_dlfcn.o dso_dlfcn.c
dso_dlfcn.c:447:2: error: use of undeclared identifier 'Dl_info'
Dl_info dli;
^
dso_dlfcn.c:457:6: warning: implicit declaration of function 'dladdr' is
invalid in
C99 [-Wimplicit-function-declaration]
if (dladdr(addr,&dli))
^
dso_dlfcn.c:457:19: error: use of undeclared identifier 'dli'
if (dladdr(addr,&dli))
^
dso_dlfcn.c:459:21: error: use of undeclared identifier 'dli'
len = (int)strlen(dli.dli_fname);
^
dso_dlfcn.c:462:15: error: use of undeclared identifier 'dli'
memcpy(path,dli.dli_fname,len);
^
/usr/include/secure/_string.h:55:36: note: expanded from macro 'memcpy'
? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest)) \
^
dso_dlfcn.c:462:15: error: use of undeclared identifier 'dli'
memcpy(path,dli.dli_fname,len);
^
/usr/include/secure/_string.h:56:33: note: expanded from macro 'memcpy'
: __inline_memcpy_chk (dest, src, len))
^
1 warning and 5 errors generated.
make[2]: *** [dso_dlfcn.o] Error 1
make[1]: *** [subdirs] Error 1
make: *** [build_crypto] Error 1
### execution of /tmp/fink.h8TLu failed, exit code 2
### execution of /tmp/fink.LCjSj failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-openssl100-dev-1.0.1c-1
(Reading database ... 6308 files and directories currently installed.)
Removing fink-buildlock-openssl100-dev-1.0.1c-1 ...
Failed: phase compiling: openssl100-dev-1.0.1c-1 failed
Package manager version: 0.34.4
Distribution version: selfupdate-rsync Thu Nov 29 17:24:08 2012, 10.8,
x86_64
Trees: local/main stable/main
Xcode.app: 4.5.2
Xcode command-line tools: 4.5.0.0.1.1249367152
Max. Fink build jobs: 1
--
David Cantrell | top google result for "internet beard fetish club"
It's my experience that neither users nor customers can articulate
what it is they want, nor can they evaluate it when they see it
-- Alan Cooper
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel:
VERIFY Test and improve your parallel project with help from experts
and peers. http://goparallel.sourceforge.net
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users