Compiling gcc4.2.2 on Solaris 5.9 : wrong symbolic link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I want to build gcc 4.2.2 on a SunOS denver 5.9 Generic sun4u sparc SUNW,Sun-Fire-280R.

I have extracted gcc sources in /users6/chaos/greg/gcc-4.2.2

Then I create a new empty directory /users6/chaos/greg/gcc-4.2.2-compil
In this directory, I run the command /users6/chaos/greg/gcc-4.2.2/configure, then make.

A problem occurs at command :

/users6/chaos/greg/gcc-4.2.2-compil/./gcc/xgcc -shared-libgcc
-B/users6/chaos/greg/gcc-4.2.2-compil/./gcc
-nostdinc++
-L/users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/src -L/users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/src/.libs
-B/users6/chaos/greg/sparc-sun-solaris2.9/bin/
-B/users6/chaos/greg/sparc-sun-solaris2.9/lib/
-isystem /users6/chaos/greg/sparc-sun-solaris2.9/include
-isystem /users6/chaos/greg/sparc-sun-solaris2.9/sys-include -Winvalid-pch
-Wno-deprecated -x c++-header -g -O2 -I/users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/include/sparc-sun-solaris2.9 -I/users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/include
-I/users6/chaos/greg/gcc-4.2.2/libstdc++-v3/libsupc++
-O2 -g
/users6/chaos/greg/gcc-4.2.2/libstdc++-v3/include/precompiled/extc++.h
-o sparc-sun-solaris2.9/bits/extc++.h.gch/O2g.gch

error is :

/users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp:51,
from /users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:52, from /users6/chaos/greg/gcc-4.2.2/libstdc++-v3/include/precompiled/extc++.h:59: /users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/include/ext/pb_ds/hash_policy.hpp:293:81: error: ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp : file not found

In the hash_policy.hpp file, line 293 contain

#include <ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp>

From the -I/users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/include, file ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp is found. This is a symbolic link :

/users6/chaos/greg/gcc-4.2.2-compil/sparc-sun-solaris2.9/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp -> /users6/chaos/greg/gcc-4.2.2/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp

But the target file doesn't exists in the source directory. There is no file hash_load_check_resize_trigger_imp.hpp anywhere in the source directory.

What's wrong ?

Thanks for your help

Grégoire Avot.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux