Alexander Hansen wrote:
> 
> On Nov 30, 2008, at 10:52 AM, christian Boily wrote:
[]
>> ../../../gcc-4.3.1/libjava/boehm.cc: In function 'void  
>> _Jv_RegisterLibF
>> orGc(const void*)':
>> ../../../gcc-4.3.1/libjava/boehm.cc:704: error:
>> 'Dl_info' was not declared in this scope
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[]
>> Failed: phase compiling: gcc43-4.3.1-1000 failed
>>
>> It would appear that the error is some .h file missing perhaps in  
>> order
>> to compile boehm.cc properly? Thanks for any hint, best wishes,

> 
> 
> I believe Dl_Info is associated with libdl.dylib.  Do you have a  
> libdl.dylib in some other location other than the system-provided one,  
> e.g. under /usr/local?  If so then that's probably incompatible. 

At compile time, this would be /usr/local/include/dlfcn.h. Simply remove 
it. There are some pieces of software (most notorious in the Fink list 
archives: openoffice) that install this. Google shows Fink list entries 
from as early as 2004 with the exact same error message.

There is even a FAQ entry (I guess it has been so long since this was 
reported last time that the existence of that FAQ item started sinking 
into oblivion):
#Q6.16: I get build errors involving `Dl_info' at
<http://fink.sourceforge.net/faq/faq.en.html#comp-general.dlfcn-from-oo>

-- 
Martin


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to