This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling gcc4.2.2 on Solaris 5.9 : wrong symbolic link


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]