Too many include paths (ARMI UREL)

Login to reply to this topic.
Wed, 2004-09-15 18:21
Joined: 2004-09-10
Forum posts: 18
Hi all,

I get the error "Too many include paths! Please reduce the number of include paths or use non-recursive paths" when I try and compile my app for ARMI UREL.

It happens on a cpp file with just one header file included, within that header file there is also just aknapp.h included.

Does anyone know what the limit for includes is? or is it something else that anyone has come across before ?

PS
The cpp and header file concerned are from a nokia example.

Thanks

Wed, 2004-09-15 22:12
Joined: 2003-11-12
Forum posts: 68
Too many include paths (ARMI UREL)
I'm guessing that you're using CodeWarrior.  CW has the concept of recursive access paths.  When passing these to GCC, it has to break down the recursion and pass each underlying directory on the command line.  Depending on how many levels deep, you may get this message.  Go to the access paths preference panel and click the folder icon next to the access path to make it non-recursive.

Thanks,
Wapa
Wed, 2005-09-14 15:13
Joined: 2005-09-14
Forum posts: 2
Re: Too many include paths (ARMI UREL)
I've just installed Codewarrior 2.8....
I'm a newbie on Symbian programming...

I've the same problem but... in my access paths preference panel there aren't any folder icons next to the
access path...it's already disabled...

I've no problem with codewarrior 2.0...but I want to use 2.8 because I can use "The Stationary"  SIMPLE as a template.

What can I do?!?
Wed, 2005-09-14 15:38
Joined: 2003-11-12
Forum posts: 68
Re: Too many include paths (ARMI UREL)
Make sure you check both the user and system paths (radio button at the top).
Thu, 2005-09-15 10:29
Joined: 2005-09-14
Forum posts: 2
Re: Too many include paths (ARMI UREL)
Oh no...
...I've lost a day...
I'm feeling quite stupid...
Now It compiles all the targets!
Last thing...
Now I've a warning that I can't understand:

Multiply defined section: _atexit in
files abort_exit_win32.c.obj (MSL_ALL_MSE_Symbian_D.lib), UP_DLL.obj (EDLL.LIB),keeping definition in UP_DLL.obj

What is it??

Thank you Wapa...
Thu, 2005-09-15 16:39
Joined: 2003-11-12
Forum posts: 68
Re: Too many include paths (ARMI UREL)
I'm not sure why you get that warning but you should be able to safely ignore it.  All it is saying is that there are two import libraries that are being linked in that contain the same function (_atexit), and that it is taking the one from the Symbian supplied library EDLL.LIB.  If it really bothers you, report it to Nokia.  I'm not sure what the support email address is for CodeWarrior issues but you can probably find it at forum.nokia.com.

Thanks,
Wapa
  • Login to reply to this topic.