Description
This article is from the Apple II
GNO FAQ, by Devin Reade with numerous contributions by
others.
10.6: When I'm using the new header files (post-v2.0.4), sometimes ORCA/Ccan't find my header files. Why?
A#10.6: There are a few potential causes for this problem, some of which
are not completely understood. You should try the following
steps:
1. Ensure that the correct "pragma path" values are in your
13/orcacdefs/defaults.h file (see Q6.5).
2. Ensure that all of your header files are of type SRC and
auxiliary type CC. This includes headers in the directories
specified via "pragma path" in 13/orcacdefs/defaults.h
(see Q6.5), any directories specified by the occ(1) "-I"
flag, and your current directory.
3. Remove any *.sym files you have and try compiling with the
occ "-i" flag. This has been reported to eliminate the
problem; presumbably there is an out-of-date cache being
used in the precompiled header file.
If you are using dmake, you can add "-i" to your default
CFLAGS environment variable in /usr/local/lib/startup.mk.
If you use neither dmake nor occ, you can add "#pragma ignore"
to your 13/orcacdefs/defaults.h file.
4. If your problem is intermittent, try calling the purge(1)
command when the problem occurs.
 
Continue to:
Share and Enjoy
Bookmark this story so others can enjoy it:
Tags
pc, hardware, Apple II, Apple ][ or Apple //, apple, gno, unix