gcc "missing binary operator" in cdefs.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Not being a hardcore Linux programmer - I'm trying to build "portsentry" on
a small test box.
When I try to compile - something I haven't done on RH8 yet - I get this
"weirdo" message:

cc -O -Wall -D_BSD_SOURCE -o ./portsentry ./portsentry.c \
        ./portsentry_io.c ./portsentry_util.c -lpcap
In file included from /usr/local/include/features.h:249,
                 from /usr/include/stdio.h:28,
                 from portsentry.h:30,
                 from portsentry.c:28:
/usr/include/sys/cdefs.h:43:42: missing binary operator before '('
/usr/include/sys/cdefs.h:122:19: missing binary operator before '('
/usr/include/sys/cdefs.h:173:19: missing binary operator before '('
/usr/include/sys/cdefs.h:182:19: missing binary operator before '('

(etc etc)

The line in cdefs.h looks like this:
"# if defined __cplusplus && __GNUC_PREREQ(2,8)"

Google didn't help me much ... I saw someone complain about the same issue
in 7.0 :)
Any ideas?  RH8.0 with latest erratas.

Regards
 Peter Larsen



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux