Re: [Bacula-users] Building bacula-fd on Irix
2008-11-20 01:49:43
"ASMR (Anders Sønderberg Mortensen)" <asmr AT novonordisk DOT com> writes:
> I'm trying to compile the bacula file daemon version 2.4.3 for Irix
> (IRIX64 bisse 6.5 07202013 IP35). Here is what I do:
>
>> setenv CC cc
>> ./configure --enable-client-only
>
> Which looks pretty happy apart from this
>
> ==>Entering directory /z/bisse/people/asmr/code/bacula-2.4.3/src/lib
> gcc: installation problem, cannot exec cpp: No such file or directory
this is not a Bacula problem :-) you need to find a better GCC
package, or use SGI's own MIPSpro compiler ("cc" for C and "CC" for
C++).
> ==>Entering directory /z/bisse/people/asmr/code/bacula-2.4.3/src/filed
> Linking bacula-fd ...
> /z/bisse/bin/g++ -L../lib -L../findlib -o bacula-fd filed.o
> authentica
> te.o acl.o backup.o estimate.o filed_conf.o heartbeat.o job.o pythonfd.o
> resto re.o status.o verify.o verify_vol.o \
> -lz -lfind -lbac -lm -lpthread -lsun \
>
> ld32: FATAL 12 : Expecting n32 objects: /usr/lib/crt1.o is o32.
> *** Error code 1 (bu21)
this is a bit weird -- I thought /usr/lib/crt1.o would be n32 ("n"
stands for "new") on 64-bit IRIX. but it's been a few years since I
last touched an IRIX machine.
you should make sure you can compile hello.c and hello.cc before
trying to compile all of Bacula.
here's a hello.c for your convenience:
#include <stdio.h>
int main() { puts("hello world"); }
run "gcc -o hello hello.c" to compile it. and here's hello.cc:
#include <iostream>
int main() { std::cout << "Hello, world!\n"; }
run "g++ -o hello hello.cc" to compile it.
--
regards, | Redpill _
Kjetil T. Homme | Linpro (_)
-------------------------------------------------------------------------
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=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|