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]

snapshot 19980816


I have made egcs with --target=ppc-linux-elf and verified that it can make
objectfiles from c source. It can not build executables as I don't have any libs
to link with.

But when I try to compile linux source I get this error. I have not tried to
make native version and try that one on the source. I guess if that didn't work
someone whould have noticed already.


kieraypc01:/home/erakeon/tmp/linux# ppc-linux-elf-gcc -D__KERNEL__ -I/home/erakeon/tmp/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__powerpc__ -fsigned-char -msoft-float -pipe -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -mcpu=860  -c -o init/main.o init/main.c
In file included from /home/erakeon/tmp/linux/include/linux/coda_fs_i.h:14,
                 from /home/erakeon/tmp/linux/include/linux/fs.h:269,
                 from /home/erakeon/tmp/linux/include/linux/capability.h:13,
                 from /home/erakeon/tmp/linux/include/linux/binfmts.h:5,
                 from /home/erakeon/tmp/linux/include/linux/sched.h:8,
                 from init/main.c:17:
/home/erakeon/tmp/linux/include/linux/coda.h:181: parse error before `u_quad_t'
/home/erakeon/tmp/linux/include/linux/coda.h:181: warning: no semicolon at end of struct or union
/home/erakeon/tmp/linux/include/linux/coda.h:189: parse error before `va_bytes'
/home/erakeon/tmp/linux/include/linux/coda.h:189: warning: type defaults to `int' in declaration of `va_bytes'
/home/erakeon/tmp/linux/include/linux/coda.h:189: warning: data definition has no type or storage class
/home/erakeon/tmp/linux/include/linux/coda.h:190: parse error before `va_filerev'
/home/erakeon/tmp/linux/include/linux/coda.h:190: warning: type defaults to `int' in declaration of `va_filerev'
/home/erakeon/tmp/linux/include/linux/coda.h:190: warning: data definition has no type or storage class
/home/erakeon/tmp/linux/include/linux/coda.h:321: field `attr' has incomplete type
/home/erakeon/tmp/linux/include/linux/coda.h:329: field `attr' has incomplete type
/home/erakeon/tmp/linux/include/linux/coda.h:365: field `attr' has incomplete type
/home/erakeon/tmp/linux/include/linux/coda.h:374: field `attr' has incomplete type
/home/erakeon/tmp/linux/include/linux/coda.h:419: field `attr' has incomplete type
/home/erakeon/tmp/linux/include/linux/coda.h:426: field `attr' has incomplete type
/home/erakeon/tmp/linux/include/linux/coda.h:460: field `attr' has incomplete type
/home/erakeon/tmp/linux/include/linux/sched.h: In function `sas_ss_flags':
In file included from init/main.c:17:
/home/erakeon/tmp/linux/include/linux/sched.h:534: `SS_DISABLE' undeclared (first use in this function)
/home/erakeon/tmp/linux/include/linux/sched.h:534: (Each undeclared identifier is reported only once
/home/erakeon/tmp/linux/include/linux/sched.h:534: for each function it appears in.)
/home/erakeon/tmp/linux/include/linux/sched.h:534: `SS_ONSTACK' undeclared (first use in this function)
/home/erakeon/tmp/linux/include/linux/sched.h:535: warning: control reaches end of non-void function
kieraypc01:/home/erakeon/tmp/linux# ppc-linux-elf-gcc -v
Reading specs from /usr/local/lib/gcc-lib/ppc-linux-elf/egcs-2.91.54/specs
gcc version egcs-2.91.54 19980816 (gcc2 ss-980609 experimental)

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