public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* doxygen unable to find included files
@ 2011-08-22 19:13 Křištof Želechovski
  2011-08-22 19:21 ` Jonathan Wakely
  0 siblings, 1 reply; 7+ messages in thread
From: Křištof Želechovski @ 2011-08-22 19:13 UTC (permalink / raw)
  To: gcc-help

{ make -C x86_64-suse-linux/libstdc++-v3 doc-html-doxygen; }

Preprocessing /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/tree_policy.hpp:154: Warning: include file ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: doxygen unable to find included files
  2011-08-22 19:13 doxygen unable to find included files Křištof Želechovski
@ 2011-08-22 19:21 ` Jonathan Wakely
  2011-08-30 12:36   ` Křištof Želechovski
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Wakely @ 2011-08-22 19:21 UTC (permalink / raw)
  To: Křištof Želechovski; +Cc: gcc-help

On 22 August 2011 20:19, Křištof Želechovski wrote:
> { make -C x86_64-suse-linux/libstdc++-v3 doc-html-doxygen; }
>
> Preprocessing /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/tree_policy.hpp:154: Warning: include file ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?
>

To generate the API docs you do need to build (at least part of)
libstdc++ first, so the symlinks to the headers are in place.

But if you're just trying to reproduce the doxygen error in PR 50143,
just use the example source and config from my doxygen bug report.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: doxygen unable to find included files
  2011-08-22 19:21 ` Jonathan Wakely
@ 2011-08-30 12:36   ` Křištof Želechovski
  2011-08-30 12:42     ` Jonathan Wakely
  0 siblings, 1 reply; 7+ messages in thread
From: Křištof Želechovski @ 2011-08-30 12:36 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-help

Dnia poniedziałek, 22 sierpnia 2011 o 21:21:08 Jonathan Wakely napisał(a):
> On 22 August 2011 20:19, Křištof Želechovski wrote:
> > { make -C x86_64-suse-linux/libstdc++-v3 doc-html-doxygen; }
> >
> > Preprocessing /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/tree_policy.hpp:154: Warning: include file ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?
> >
> 
> To generate the API docs you do need to build (at least part of)
> libstdc++ first, so the symlinks to the headers are in place.
> 
> But if you're just trying to reproduce the doxygen error in PR 50143,
> just use the example source and config from my doxygen bug report.
> 

Actually, I find it a shame that the API documentation is unavailable off line and I would like to expand the build script for openSUSE to generate it.  Of course I could create a separate package from the documentation tarball you publish for downloading but (1) that would still be invalid and (2) it would violate the rule that the source is the form most convenient for editing.

Best regards,
Chris.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: doxygen unable to find included files
  2011-08-30 12:36   ` Křištof Želechovski
@ 2011-08-30 12:42     ` Jonathan Wakely
  2011-08-30 13:33       ` Křištof Želechovski
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Wakely @ 2011-08-30 12:42 UTC (permalink / raw)
  To: Křištof Želechovski; +Cc: gcc-help

On 30 August 2011 13:42, Křištof Želechovski <giecrilj@stegny.2a.pl> wrote:
> Dnia poniedziałek, 22 sierpnia 2011 o 21:21:08 Jonathan Wakely napisał(a):
>> On 22 August 2011 20:19, Křištof Želechovski wrote:
>> > { make -C x86_64-suse-linux/libstdc++-v3 doc-html-doxygen; }
>> >
>> > Preprocessing /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/tree_policy.hpp:154: Warning: include file ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?
>> >
>>
>> To generate the API docs you do need to build (at least part of)
>> libstdc++ first, so the symlinks to the headers are in place.
>>
>> But if you're just trying to reproduce the doxygen error in PR 50143,
>> just use the example source and config from my doxygen bug report.
>>
>
> Actually, I find it a shame that the API documentation is unavailable off line and I would like to expand the build script for openSUSE to generate it.  Of course I could create a separate package from the documentation tarball you publish for downloading but (1) that would still be invalid and (2) it would violate the rule that the source is the form most convenient for editing.

openSUSE ships a gcc package, so building the docs after building
libstdc++ (when the objdir has all the necessary symlinks) shouldn't
be a huge problem.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: doxygen unable to find included files
  2011-08-30 12:42     ` Jonathan Wakely
@ 2011-08-30 13:33       ` Křištof Želechovski
  2011-08-30 14:00         ` Jonathan Wakely
  0 siblings, 1 reply; 7+ messages in thread
From: Křištof Želechovski @ 2011-08-30 13:33 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-help

Dnia wtorek, 30 sierpnia 2011 o 14:41:45 Jonathan Wakely napisał(a):
> On 30 August 2011 13:42, Křištof Želechovski <giecrilj@stegny.2a.pl> wrote:
> > Dnia poniedziałek, 22 sierpnia 2011 o 21:21:08 Jonathan Wakely napisał(a):
> >> On 22 August 2011 20:19, Křištof Želechovski wrote:
> >> > { make -C x86_64-suse-linux/libstdc++-v3 doc-html-doxygen; }
> >> >
> >> > Preprocessing /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/tree_policy.hpp:154: Warning: include file ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?
> >> >
> >>
> >> To generate the API docs you do need to build (at least part of)
> >> libstdc++ first, so the symlinks to the headers are in place.
> >>
> >> But if you're just trying to reproduce the doxygen error in PR 50143,
> >> just use the example source and config from my doxygen bug report.
> >>
> >
> > Actually, I find it a shame that the API documentation is unavailable off line and I would like to expand the build script for openSUSE to generate it.  Of course I could create a separate package from the documentation tarball you publish for downloading but (1) that would still be invalid and (2) it would violate the rule that the source is the form most convenient for editing.
> 
> openSUSE ships a gcc package, so building the docs after building
> libstdc++ (when the objdir has all the necessary symlinks) shouldn't
> be a huge problem.
> 

My build log says:

make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CC_FOR_TARGET=/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/./gcc/xgcc -B/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/./gcc/" "CFLAGS=-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE" "CXXFLAGS=-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE -D_GNU_SOURCE" "CFLAGS_FOR_BUILD=-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE" "CFLAGS_FOR_TARGET=-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS=-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE" "LIBCFLAGS_FOR_TARGET=-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchronous-unwind-tables -g -U_FORTIFY_SOURCE" "MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG=" "PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/usr" "infodir=/usr/share/info" "libdir=/usr/lib64" "includedir=/usr/include" "prefix=/usr" "tooldir=/usr/x86_64-suse-linux" "gxx_include_dir=/usr/include/c++/4.5" "AR=/usr/x86_64-suse-linux/bin/ar" "AS=/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/./gcc/as" "LD=/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/./gcc/collect-ld" "RANLIB=/usr/x86_64-suse-linux/bin/ranlib" "NM=/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/./gcc/nm" "NM_FOR_BUILD=" "NM_FOR_TARGET=/usr/x86_64-suse-linux/bin/nm" "DESTDIR=" "WERROR=" all-recursive

make[3]: Entering directory `/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3'

and after a long time;

/bin/sh ../libtool --tag CXX   --mode=link /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/./gcc/xgcc -shared-libgcc -B/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/./gcc -nostdinc++ -L/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/32/libstdc++-v3/src -L/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/32/libstdc++-v3/src/.libs -B/usr/x86_64-suse-linux/bin/ -B/usr/x86_64-suse-linux/lib/ -isystem /usr/x86_64-suse-linux/include -isystem /usr/x86_64-suse-linux/sys-include  -m32 -Wl,-O1 -Wl,-z,relro -Wl,--gc-sections  -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual  -fdiagnostics-show-location=once  -ffunction-sections -fdata-sections   '-m32' -o libstdc++.la -version-info 6:14:0 -Wl,--version-script=libstdc++-symbols.ver -lm  -rpath /usr/lib64/gcc/x86_64-suse-linux/4.5/32 atomic.lo bitmap_allocator.lo pool_allocator.lo mt_allocator.lo codecvt.lo compatibility.lo compatibility-c++0x.lo compatibility-debug_list.lo compatibility-list.lo complex_io.lo ctype.lo debug.lo functexcept.lo globals_io.lo hash_c++0x.lo hash_tr1.lo hashtable_c++0x.lo hashtable_tr1.lo ios.lo ios_failure.lo ios_init.lo ios_locale.lo limits.lo list.lo debug_list.lo locale.lo locale_init.lo locale_facets.lo localename.lo math_stubs_float.lo math_stubs_long_double.lo stdexcept.lo strstream.lo system_error.lo tree.lo allocator-inst.lo concept-inst.lo fstream-inst.lo ext-inst.lo ios-inst.lo iostream-inst.lo istream-inst.lo istream.lo locale-inst.lo misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo wstring-inst.lo mutex.lo condition_variable.lo chrono.lo thread.lo future.lo atomicity.lo codecvt_members.lo collate_members.lo ctype_members.lo messages_members.lo monetary_members.lo numeric_members.lo time_members.lo basic_file.lo c++locale.lo  parallel_list.lo parallel_settings.lo compatibility-parallel_list.lo  ../libsupc++/libsupc++convenience.la 

and then:

make: Entering directory `/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3'
cd doc && make doc-html-doxygen

so it seems the library has already been built when I get those errors.

Unfortunately I cannot give you exact line numbers where these things happend because I cannot make Firefox show the numbers.

Any ideas?
Chris

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: doxygen unable to find included files
  2011-08-30 13:33       ` Křištof Želechovski
@ 2011-08-30 14:00         ` Jonathan Wakely
  2011-08-31 10:51           ` Křištof Želechovski
  0 siblings, 1 reply; 7+ messages in thread
From: Jonathan Wakely @ 2011-08-30 14:00 UTC (permalink / raw)
  To: Křištof Želechovski; +Cc: gcc-help

2011/8/30 Křištof Želechovski:
> Dnia wtorek, 30 sierpnia 2011 o 14:41:45 Jonathan Wakely napisał(a):
>> On 30 August 2011 13:42, Křištof Želechovski <giecrilj@stegny.2a.pl> wrote:
>> > Dnia poniedziałek, 22 sierpnia 2011 o 21:21:08 Jonathan Wakely napisał(a):
>> >> On 22 August 2011 20:19, Křištof Želechovski wrote:
>> >> > { make -C x86_64-suse-linux/libstdc++-v3 doc-html-doxygen; }
>> >> >
>> >> > Preprocessing /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/tree_policy.hpp:154: Warning: include file ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?
...
> so it seems the library has already been built when I get those errors.

Isn't it just a warning, not an error?

> Any ideas?

Have you checked if the file is there?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: doxygen unable to find included files
  2011-08-30 14:00         ` Jonathan Wakely
@ 2011-08-31 10:51           ` Křištof Želechovski
  0 siblings, 0 replies; 7+ messages in thread
From: Křištof Želechovski @ 2011-08-31 10:51 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-help

Dnia wtorek, 30 sierpnia 2011 o 16:00:21 Jonathan Wakely napisał(a):
> 2011/8/30 Křištof Želechovski:
> > Dnia wtorek, 30 sierpnia 2011 o 14:41:45 Jonathan Wakely napisał(a):
> >> On 30 August 2011 13:42, Křištof Želechovski <giecrilj@stegny.2a.pl> wrote:
> >> > Dnia poniedziałek, 22 sierpnia 2011 o 21:21:08 Jonathan Wakely napisał(a):
> >> >> On 22 August 2011 20:19, Křištof Želechovski wrote:
> >> >> > { make -C x86_64-suse-linux/libstdc++-v3 doc-html-doxygen; }
> >> >> >
> >> >> > Preprocessing /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/tree_policy.hpp:154: Warning: include file ext/pb_ds/detail/tree_policy/order_statistics_imp.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?
> ...
> > so it seems the library has already been built when I get those errors.
> 
> Isn't it just a warning, not an error?
> 
> > Any ideas?
> 
> Have you checked if the file is there?
> 

I have:

+ 
ls -l x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp

lrwxrwxrwx 1 abuild abuild 116 Aug 31 08:49 
x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp 
-> 
/usr/src/packages/BUILD/gcc-4.5.3-20110428/libstdc++-v3/include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp

+
 file -L x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp

x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/detail/constructors_destructor_fn_imps.hpp: 
ASCII C++ program text

run_doxygen --host_alias=x86_64-suse-linux --mode=html \
 /usr/src/packages/BUILD/gcc-4.5.3-20110428/libstdc++-v3 \
 /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3 YES
:: Using Doxygen tools from /usr/bin.
:: NOTE that this may take some time...
doxygen /usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/doc/doxygen/html.cfg

/usr/src/packages/BUILD/gcc-4.5.3-20110428/obj-x86_64-suse-linux/x86_64-suse-linux/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:122: 
Warning: include file ext/pb_ds/detail/constructors_destructor_fn_imps.hpp not found, perhaps you forgot to add its directory to INCLUDE_PATH?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-08-31 10:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22 19:13 doxygen unable to find included files Křištof Želechovski
2011-08-22 19:21 ` Jonathan Wakely
2011-08-30 12:36   ` Křištof Želechovski
2011-08-30 12:42     ` Jonathan Wakely
2011-08-30 13:33       ` Křištof Želechovski
2011-08-30 14:00         ` Jonathan Wakely
2011-08-31 10:51           ` Křištof Želechovski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).