Hi,

I am trying to build static bacula 2.2.3 client on Mac OS X 10.3 (Apple XCode 
Tools 1.5 with November 2004 gcc update installed) for distributing among 
older Macs still in use here. I am having the following errors from ld while 
executing make command (see below). As far as I know crt0.o is a very old 
(pre-glibc) and deprecated way of linking statically. Why bacula build is 
attempting to explicitly link with crt0.o? There is no such problems under OS 
X 10.4.x with the latest XCode Tools 2.4.1 installed but this version is only 
available for OS X 10.4.

Thanks,
Ivan


Excerpt from make log:

==>Entering directory /Users/ivan/bacula-2.2.3/src/filed
Compiling filed.c
Compiling authenticate.c
Compiling acl.c
Compiling backup.c
Compiling estimate.c
Compiling filed_conf.c
Compiling heartbeat.c
Compiling job.c
Compiling pythonfd.c
Compiling restore.c
Compiling status.c
Compiling verify.c
Compiling verify_vol.c
Linking bacula-fd ...
/usr/bin/g++   -L../lib -L../findlib -o bacula-fd filed.o authenticate.o acl.o 
backup.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o restore.o 
status.o verify.o verify_vol.o \
   -lz             -lfind -lbac -lm  -lpthread  \
     
/usr/bin/g++   -static -L../lib -L../findlib -o static-bacula-fd filed.o 
authenticate.o acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o 
pythonfd.o restore.o status.o verify.o verify_vol.o \
    -lz            -lfind -lbac -lm  -lpthread  \
      
ld: can't locate file for: -lcrt0.o
make[1]: *** [static-bacula-fd] Error 1


  ====== Error in /Users/ivan/bacula-2.2.3/src/filed ======


==>Entering directory /Users/ivan/bacula-2.2.3/src/console
Compiling console.c
console.c:737: warning: `bool bisatty(int)' defined but not used
Compiling console_conf.c
Compiling authenticate.c
/usr/bin/g++   -L../lib -L../cats -o bconsole console.o console_conf.o 
authenticate.o  \
         -lbac -lm -lpthread   \
      
/usr/bin/g++ -static   -L../lib -L../cats -o static-bconsole console.o 
console_conf.o authenticate.o  \
         -lbac -lm -lpthread   \
      
ld: can't locate file for: -lcrt0.o
make[1]: *** [static-bconsole] Error 1


  ====== Error in /Users/ivan/bacula-2.2.3/src/console ======


The information transmitted in this electronic communication is intended only 
for the person or entity to whom it is addressed and may contain confidential 
and/or privileged material. Any review, retransmission, dissemination or other 
use of or taking of any action in reliance upon this information by persons or 
entities other than the intended recipient is prohibited. If you received this 
information in error, please contact the Compliance HelpLine at 800-856-1983 
and properly dispose of this information.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to