Compilation problem with gcc 4.1, c++ include files

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Thu Jan 12 12:03:34 UTC 2006


Hi,

I'm running into a problem while trying to recompile aMule on FC
development. I'm not sure what nor who to blame, so I prefer posting here
before filing a bug against gcc :

[...]
configure:6562: checking that wxWidgets has support for large files
configure:6576: g++ -E -I/usr/lib64/wx/include/gtk2-unicode-release-2.6
-I/usr/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA conftest.cc
In file included from /usr/include/wx-2.6/wx/string.h:170,
                 from /usr/include/wx-2.6/wx/memory.h:20,
                 from /usr/include/wx-2.6/wx/object.h:25,
                 from /usr/include/wx-2.6/wx/wx.h:16,
                 from conftest.cc:2:
/usr/lib/gcc/x86_64-redhat-linux/4.1.0/../../../../include/c++/4.1.0/string:44:28:
error: bits/c++config.h: No such file or directory
[...]

In that "string" file there is :

#include <bits/c++config.h>

But /usr/include/c++/4.1.0/bits/c++config.h does not exist, I can only
find /usr/include/c++/4.1.0/i386-redhat-linux/bits/c++config.h.

This is on x86_64 while trying to rebuild in a mach minimal chroot.

Any pointers welcome!

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 4 (Stentz) - Linux kernel 2.6.14-1.1656_FC4
Load : 0.39 0.42 0.45




More information about the fedora-devel-list mailing list