Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 03-12-2005, 01:00 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 7

Rep: Reputation: 0
GCC Make error on Solarias 2.8: libc.a unknown file type

Hi geeks,

I am trying to build gcc-3.4.3 on solaris 2.8 I am getting ld error.

I am using the following configuration options

../configure --prefix=/software/switch/tools/gcc-3.4.3 --libexecdir=/software/switch/tools/gcc-3.4.3/lib --with-local-prefix=/software/switch/tools/gcc-3.4.3 --disable-nls --enable-shared --enable-languages=c

and I gave following command to make.

make BOOT_LDFLAGS="-static" bootstrap

and after some time I'll get the following error

ld: fatal: file /software/switch/tools/gnu960/lib/gcc-lib/../libc.a: unknown file type
ld: fatal: File processing errors. No output written to
collect2: ld returned 1 exit status
make[3]: *** [] Error 1
make[3]: Leaving directory `/home/vinaysetty/gcc-3.4.3_build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/home/vinaysetty/gcc-3.4.3_build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/vinaysetty/gcc-3.4.3_build/gcc'
make: *** [bootstrap] Error 2

Note: I donot have the root privileges.
I am using clearcase VOB mounting for accessing the file system.

I hope someone helps me so that I can continue my work.

Thanks in advance,

Vinay Setty
Old 06-20-2005, 01:56 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
"file /software/switch/tools/gnu960/lib/gcc-lib/../libc.a" will give you a clue, if you are still stuck there ...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"FATAL: Unknown capture source type" error from Kismet atlantanewbie Linux - Wireless Networking 2 04-03-2010 05:34 AM
Autopackage broke my GNOME unknown file type icon ! ghaefb Linux - Software 2 08-15-2005 11:00 AM
root (hd 0,0)Filesystem type unknown, partition type 0x7chainloader +1 ece30675 Linux - Distributions 5 07-20-2004 09:04 AM
Gimp - jpg - unknown file type Wynd Linux - Software 1 06-27-2004 11:10 PM
Trying to compile older make of libc, getting error Cecil Linux - Software 0 07-16-2003 02:10 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration