This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs 2.91.40 on solaris 2.6 and link.h


Hi,

Am I'm making a very big mistake here or is the preprocessor broken on my
Solaris 2.6 (march 1998).

Erick

wssft041:~ cat yes.c
#include <link.h>
main ()
{
        return 0;
}
wssft041:~ gcc --version
egcs-2.91.40
wssft041:~ gcc -c yes.c -o yes
In file included from /usr/include/link.h:10,
                 from yes.c:1:
/usr/include/sys/link.h:46: parse error before `Elf64_Xword'
/usr/include/sys/link.h:46: warning: no semicolon at end of struct or union
/usr/include/sys/link.h:48: parse error before `Elf64_Xword'
/usr/include/sys/link.h:48: warning: no semicolon at end of struct or union
/usr/include/sys/link.h:49: warning: data definition has no type or storage class
/usr/include/sys/link.h:50: warning: data definition has no type or storage class
/usr/include/sys/link.h:51: parse error before `}'
/usr/include/sys/link.h:51: warning: data definition has no type or storage class
/usr/include/sys/link.h:215: parse error before `Elf64_Half'
[...]
/usr/include/libelf.h:177: parse error before `*'
/usr/include/libelf.h:177: warning: data definition has no type or storage class
/usr/include/libelf.h:179: parse error before `*'
/usr/include/libelf.h:179: warning: data definition has no type or storage class
In file included from yes.c:1:
/usr/include/link.h:36: parse error before `Elf64_Shdr'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]