Hi,
I'm just starting development for PalmOS, and when I want to compile
pilrc-2.8 on the GNU/Linux RedHat 7.1, with gcc 2.96, I get lots of
errors, I tried to figure out what are them, almost all of them are
from macros like PBAFIELD, ..., can you tell me what should I do??
Yours,
behdad
gcc -DPACKAGE=\"pilrc\" -DVERSION=\"2.8\" -DUNIX=1 -I. -I. -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -Wall
-c pilrc.c
pilrc.c:1132:27: warning: pasting "." and "form" does not give a valid preprocessing
token
pilrc.c:1132:27: warning: pasting "." and "form" does not give a valid preprocessing
token
pilrc.c:1134:27: warning: pasting "." and "form" does not give a valid preprocessing
token
pilrc.c:1134:27: warning: pasting "." and "form" does not give a valid preprocessing
token
pilrc.c:1827:21: warning: pasting ""w,uuuuuzu11,w4,w,w,w,w,w,zw,zl,zl,zl"" and
"szRCFieldBA32" does not give a valid preprocessing token
pilrc.c:1838:21: warning: pasting ""w,w4,uuuuuzu11,w,w,w,w,w,zl,zl,zl"" and
"szRCFieldBA16" does not give a valid preprocessing token
pilrc.c:1861:21: warning: pasting "." and "u" does not give a valid preprocessing token
pilrc.c:1861:50: warning: pasting "." and "u" does not give a valid preprocessing token
pilrc.c:1866:40: warning: pasting "." and "objectType" does not give a valid
preprocessing token
pilrc.c:1866:40: warning: pasting "." and "objectType" does not give a valid
preprocessing token
pilrc.c:1868:11: warning: pasting "." and "objectType" does not give a valid
preprocessing token
pilrc.c:1868:11: warning: pasting "." and "objectType" does not give a valid
preprocessing token
pilrc.c:1872:11: warning: pasting "." and "numItems" does not give a valid
preprocessing token
pilrc.c:1872:11: warning: pasting "." and "numItems" does not give a valid
preprocessing token
pilrc.c:1874:11: warning: pasting "." and "numItems" does not give a valid
preprocessing token
pilrc.c:1874:11: warning: pasting "." and "numItems" does not give a valid
preprocessing token
pilrc.c:1874:48: warning: pasting "." and "cbListItems" does not give a valid
preprocessing token
pilrc.c:1874:48: warning: pasting "." and "cbListItems" does not give a valid
preprocessing token
pilrc.c:1879:13: warning: pasting "." and "numColumns" does not give a valid
preprocessing token
pilrc.c:1879:13: warning: pasting "." and "numColumns" does not give a valid
preprocessing token
[...snipped...]
pilrc.c:4637:11: warning: pasting "." and "numEntries" does not give a valid
preprocessing token
pilrc.c:4637:11: warning: pasting "." and "numEntries" does not give a valid
preprocessing token
pilrc.c:4656:9: warning: pasting "." and "creator" does not give a valid preprocessing
token
pilrc.c:4656:9: warning: pasting "." and "creator" does not give a valid preprocessing
token
pilrc.c:4670:9: warning: pasting "." and "num" does not give a valid preprocessing
token
pilrc.c:4670:9: warning: pasting "." and "num" does not give a valid preprocessing
token
pilrc.c:4671:9: warning: pasting "." and "value" does not give a valid preprocessing
token
pilrc.c:4671:9: warning: pasting "." and "value" does not give a valid preprocessing
token
pilrc.c:4687:3: warning: pasting "." and "numEntries" does not give a valid
preprocessing token
pilrc.c:4687:3: warning: pasting "." and "numEntries" does not give a valid
preprocessing token
pilrc.c:4693:20: warning: pasting "." and "numEntries" does not give a valid
preprocessing token
pilrc.c:4693:20: warning: pasting "." and "numEntries" does not give a valid
preprocessing token
pilrc.c:74: parse error before `__extension__'
pilrc.c:74: `__len' undeclared here (not in a function)
pilrc.c:74: initializer element is not constant
pilrc.c:74: parse error before `if'
pilrc.c:74: warning: type defaults to `int' in declaration of `__retval'
pilrc.c:74: conflicting types for `__retval'
pilrc.c:74: previous declaration of `__retval'
pilrc.c:74: warning: data definition has no type or storage class
pilrc.c:74: parse error before `}'
pilrc.c: In function `CbInit':
pilrc.c:1827: parse error before `szRCFieldBA32'
pilrc.c:1838: parse error before `szRCFieldBA16'
pilrc.c: In function `ParseDumpGraffitiInputArea':
pilrc.c:4313: warning: multi-character character constant
pilrc.c:4313: warning: multi-character character constant
make: *** [pilrc.o] Error 1
--
Behdad
31 Shahrivar 1380, 2001 Sep 22
[Finger for Geek Code]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/