Have you tried to explicitely link against libstdc++?

On Friday 08 July 2005 03:06, Jose Hidalgo wrote:
> Hi,
>
> Using OpenBSD 3.7 (stable and current ) the build process for
> --enable-client-only fails,
> I tried with this versions:
>
> bacula-1.36.2
> bacula-1.36.3
>
> This is the output in both versions:
>
> ==>Entering directory /root/bacula/bacula-1.36.3/src/findlib
> ==== Make of findlib is good ====
>
> ==>Entering directory /root/bacula/bacula-1.36.3/src/filed
> g++  -O -L../lib -L../findlib -o bacula-fd filed.o authenticate.o
> backup.o estimate.o  filed_conf.o heartbeat.o job.o  restore.o status.o
> verify.o verify_vol.o   -lz -lfind -lbac -lm -pthread
> filed.o(.text+0xed): In function `main':
> /root/bacula/bacula-1.36.3/src/filed/filed.c:113: warning: strcpy() is
> almost always misused, please use strlcpy()
> ../findlib/libfind.a(bfile.o)(.text+0x41): In function
> `stream_to_ascii(int)':
> /root/bacula/bacula-1.36.3/src/findlib/bfile.c:81: warning: sprintf() is
> often misused, please use snprintf()
> ../lib/libbac.a(signal.o)(.text+0x133): In function `signal_handler':
> /root/bacula/bacula-1.36.3/src/lib/signal.c:114: warning: strcat() is
> almost always misused, please use strlcat()
> filed.o(.eh_frame+0x11): In function `usage':
> /root/bacula/bacula-1.36.3/src/filed/filed.c:65: undefined reference to
> `__gxx_personality_v0'
> authenticate.o(.eh_frame+0x11): In function `authenticate':
> /root/bacula/bacula-1.36.3/src/filed/authenticate.c:46: undefined
> reference to `__gxx_personality_v0'
> backup.o(.eh_frame+0x12): In function
> `blast_data_to_storage_daemon(JCR*, char*)':
> /root/bacula/bacula-1.36.3/src/filed/backup.c:62: undefined reference to
> `__gxx_personality_v0'
> estimate.o(.eh_frame+0x11): In function `make_estimate(JCR*)':
> /root/bacula/bacula-1.36.3/src/filed/estimate.c:42: undefined reference
> to `__gxx_personality_v0'
> filed_conf.o(.eh_frame+0x11): In function `dump_resource(int, RES*, void
> (*)(void*, char const*, ...), void*)':
> /root/bacula/bacula-1.36.3/src/filed/filed_conf.c:130: undefined
> reference to `__gxx_personality_v0'
> heartbeat.o(.eh_frame
> +0x11):/root/bacula/bacula-1.36.3/src/filed/heartbeat.c:58: more
> undefined references to `__gxx_personality_v0' follow
> /usr/lib/libstdc++.so.38.0: undefined reference to
> `_Unwind_SjLj_Unregister'
> /usr/lib/libstdc++.so.38.0: undefined reference to
> `_Unwind_SjLj_Register'
> /usr/lib/libstdc++.so.38.0: undefined reference to
> `_Unwind_SjLj_RaiseException'
> /usr/lib/libstdc++.so.38.0: undefined reference to `_Unwind_SjLj_Resume'
> /usr/lib/libstdc++.so.38.0: undefined reference to
> `_Unwind_SjLj_Resume_or_Rethrow'
> collect2: ld returned 1 exit status
> *** Error code 1

-- 
Sebastian Stark -- http://www.kyb.tuebingen.mpg.de/~stark
Max Planck Institute for Biological Cybernetics


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to