I found an explanation, old version of Amanda was lying around on the build 
machine and the installation process picked
the symbol from there and added to the librestore library. After having cleaned 
up the system the build process works using gcc
that is bundled with the system.

Thanks for your help.

GG


On Tue, Jan 19, 2010 at 4:32 AM, Gunnarsson, Gunnar <gunnar.gunnars...@svk.se> 
wrote:
>> amrestore and amfetchdump don't build correctly on my system -
>>
>>  # /opt/sfw/sbin/amrestore
>> ld.so.1: amrestore: fatal: relocation error: file 
>> /opt/sfw/lib/amanda/librestore-2.6.1p2.so:
>> symbol getconf_str: referenced symbol not found Killed
>>
>> #/opt/sfw/sbin/amfetchdump
>> ld.so.1: amfetchdump: fatal: relocation error: file 
>> /opt/sfw/lib/amanda/librestore-2.6.1p2.so:
>> symbol getconf_str: referenced symbol not found
>>
>> Other binaries seems to be working.

>Odd!  getconf_str is a macro defined in conffile.h, so the linker should never 
>see it.

>The reference is most likely from restore-src/restore.c, which doesn't 
>actually include conffile.h.  However, find.h includes diskfile.h which 
>includes >conffile.h, so the macro definition should be available all the same.

Reply via email to