>>>>> On Tue, 15 Nov 2005 14:18:28 +0100, "Marcin Wasilewski" <[EMAIL
>>>>> PROTECTED]> said:
Marcin> I'm trying to compile bacula1.36.3 client on Solaris 10/SPARC but
Marcin> ./configure gives me an error that "C compiler cannot create
executables"
Marcin> Below is the config.log.
Marcin> Could You help me find out what is wrong? Maybe some packages are
missing?
>From the log, it looks like your gcc is not compatible with the system's
assembler (/usr/ccs/bin/as):
configure:1835: gcc -v </dev/null >&5
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw
--with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld
--without-gnu-ld
--enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
configure:1838: $? = 0
configure:1840: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1843: $? = 1
configure:1866: checking for C compiler default output file name
configure:1869: gcc conftest.c >&5
/usr/ccs/bin/as: error: unknown option '-'
/usr/ccs/bin/as: error: unknown option 't'
/usr/ccs/bin/as: error: unknown option 'aditional-format'
usage: /usr/ccs/bin/as [-V] [-Q{y,n}] [-q] [-s]
[-S] [-K {pic,PIC}] [-o objfile] [-L] [-T]
[-P [[-Yc,path] [-Ipath] [-Dname] [-Dname=def] [-Uname]]...]
[-m [-Ym,path]] [-n] [-ul] [-xF]
[-xarch={v7,v8,v8a,v8plus,v8plusa,v8plusb,v9,v9a,v9b}]
[-xcode={pic13,pic32}] file.s...
You probably need the GNU assembler, which you might have already somewhere in
the sfw directories. Does /usr/sfw/bin/gas exist? You could also try adding
something like /usr/sfw/bin:/opt/sfw/bin to the start of PATH.
__Martin
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users