Bacula-users

Re: [Bacula-users] error compiling bacula on mac os x

2009-01-05 13:16:28
Subject: Re: [Bacula-users] error compiling bacula on mac os x
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 5 Jan 2009 18:11:41 GMT
>>>>> On Fri, 2 Jan 2009 20:47:39 -0800 (PST), Hemant Shah said:
> 
> I am trying to compile bacula on mac os x leopard and I am getting following 
> errors.
> 
> /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_classic: can't locate file for: -lcrt0.o
> collect2: ld returned 1 exit status
> make[1]: *** [static-bacula-fd] Error 1
> 
> ...
> 
> Full output is attached to the e-mail.
> I am trying to compile it static because I want to copy fd to other macs
> that does not have xcode installed, I am not sure if dynamic version will
> work.

I think Apple doesn't support static linking on the Mac.

The dynamic version should run fine on other Macs with xcode, as long as they
are running the same (or newer) version of the OS.

__Martin

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>