[MacPorts] #19324: devel/dlcompat fails to build on Leopard

MacPorts noreply at macports.org
Wed Apr 15 02:58:26 PDT 2009


#19324: devel/dlcompat fails to build on Leopard
--------------------------------+-------------------------------------------
 Reporter:  yokota33@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Bugs                            
Component:  ports               |     Version:  1.7.1                                
 Keywords:                      |        Port:  devel/dlcompat                       
--------------------------------+-------------------------------------------
 devel/dlcompat fails to build on Leopard with the following error
 messages:

 {{{
 Command output: dlfcn.c:694: warning: 'NSCreateObjectFileImageFromFile' is
 deprecated (declared at /usr/include/mach-o/dyld.h:145)
 dlfcn.c:755: warning: 'NSLinkEditError' is deprecated (declared at
 /usr/include/mach-o/dyld.h:217)
 dlfcn.c:769: warning: 'NSLinkModule' is deprecated (declared at
 /usr/include/mach-o/dyld.h:161)
 dlfcn.c:773: warning: 'NSDestroyObjectFileImage' is deprecated (declared
 at /usr/include/mach-o/dyld.h:147)
 dlfcn.c:776: warning: passing argument 1 of
 'get_mach_header_from_NSModule' from incompatible pointer type
 dlfcn.c:781: warning: 'NSLinkEditError' is deprecated (declared at
 /usr/include/mach-o/dyld.h:217)
 dlfcn.c: In function 'dlcompat_init_func':
 dlfcn.c:806: warning: passing argument 2 of '_dyld_func_lookup' from
 incompatible pointer type
 dlfcn.c:808: warning: passing argument 2 of '_dyld_func_lookup' from
 incompatible pointer type
 dlfcn.c:809: warning: passing argument 2 of '_dyld_func_lookup' from
 incompatible pointer type
 dlfcn.c: At top level:
 dlfcn.c:819: warning: Pragma CALL_ON_LOAD is deprecated; use constructor
 attribute instead
 dlfcn.c: In function 'dlclose':
 dlfcn.c:1087: warning: passing argument 1 of
 'get_mach_header_from_NSModule' from incompatible pointer type
 dlfcn.c:1097: warning: 'NSUnLinkModule' is deprecated (declared at
 /usr/include/mach-o/dyld.h:169)
 dlfcn.c: In function 'image_for_address':
 dlfcn.c:1139: warning: initialization makes integer from pointer without a
 cast
 dlfcn.c:1143: warning: assignment discards qualifiers from pointer target
 type
 dlfcn.c: In function 'dladdr':
 dlfcn.c:1174: warning: initialization makes integer from pointer without a
 cast
 dlfcn.c:1191: warning: assignment discards qualifiers from pointer target
 type
 ar cru libdl.a dlfcn.o
 ranlib libdl.a
 /usr/bin/gcc-4.0 -dynamiclib -o libdl.1.dylib dlfcn.o -install_name
 /opt/local/lib/libdl.1.dylib -compatibility_version 1 -current_version 1
 Undefined symbols:
   "_dlcompat_init_func", referenced from:
       initializer$0 in dlfcn.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make: *** [libdl.1.dylib] Error 1
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/19324>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list