Problem building with gcc 2.95.3 under linux ...

Forum thread started by rdmr on Sun, 2007-08-26 09:28

As I mentioned in the title before I get an build error while compiling with gcc 2.95.3 compiler under linux. With gcc4 compiler i have no problem. But gcc2 compiler gives an error while compiling storage_kit.o ... here is the output :

.
.
.
...failed MergeObjectFromObjects1 generated/objects/haiku/x86/release/kits/storage/storage_kit.o ...
...removing generated/objects/haiku/x86/release/kits/storage/storage_kit.o
...skipped libbe.so for lack of <libbe>storage_kit.o...
...skipped Deskbar for lack of libbe.so...
...skipped <<HaikuImage>>haiku.image-copy-files-dummy-beos/system for lack of Deskbar...
...skipped haiku.image for lack of &lt;HaikuImage&gt;haiku.image-copy-files...
...failed updating 1 target(s)...
...skipped 4 target(s)...
...updated 1244 target(s)...

when i cd to the directory of src/kits/storage and jam there the output is :

.
.
.
/home/rdmr/develop/haiku/trunk/generated/cross-tools/i586-pc-beos/bin/ld: cannot find -lbe
collect2: ld returned 1 exit status
.
.
.
...failed Link ../../../generated/objects/haiku/x86/release/kits/storage/libbeadapter.so ...
MergeObjectFromObjects1 ../../../generated/objects/haiku/x86/release/kits/storage/storage_kit.o
.
.
.
.
.
...failed MergeObjectFromObjects1 ../../../generated/objects/haiku/x86/release/kits/storage/storage_kit.o ...
...removing ../../../generated/objects/haiku/x86/release/kits/storage/storage_kit.o
...failed updating 2 target(s)...
...updated 788 target(s)...

I did checked out from svn many times from scratch, but no luck. I can compile only with gcc4. What problem can it be? Any help will be appreciated.
Thanks.