Re: Header files not reflecting new directory structure

[email protected] (Jonas Borgström) 24 Nov 2002 13:27:00 +0100
Newsgroups gmane.network.beep.roadrunner.general
Message-ID <[email protected]>
Sandro Poppi <[email protected]> writes:

> FYI
> 
> With the newly introduced directory structure for rr 1.0, rridxp 1.0,
> rrtls 1.0 (and possibly others) compilation of a new rr based
> application generates lots of errors regarding missing header files. As
> a quick and dirty workaround I did
> 
> ln -s roadrunner-1.0/librr/ librr
> ln -s rridxp-1.0/librridxp/ librridxp
> ln -s rrtls-1.0/librrtls/ librrtls
> 

No, this shouldn't be necessary. The pkg-config files (roadrunner.pc, rridxp.pc ...)
have been updated to add "-I$prefix/include/<package>-1.0" to CFLAGS. So gcc should
be able to find the headers without any symlinks.

So if you don't see any "-I$prefix/include/<package>-1.0" lines when trying to compile
any application you probably need to rerun ./configure or ./autogen.sh

/ Jonas
-- 
Jonas Borgström                  [email protected]
CodeFactory AB                   http://www.codefactory.se/
Office: +46 (0)90 71 86 14