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

Re: [MiNT] compile error



Hey,

Am 05.02.2013 09:13, schrieb Alan Hourihane:
I remember there is a GNU GCC bug report about this already, and I think
there's a patch.

You might be able to workaround the problem removing -O.

i've tried it again, and i went into another error now.

------------------------

root@easymint:/e/cvs/freemint>make
Making all in shared
make[1]: Entering directory `/e/cvs/freemint/shared'
Making all in libsyscall
make[2]: Entering directory `/e/cvs/freemint/shared/libsyscall'
gcc -Wall -c pars.c -o pars.o
flex -oscan.c scan.l
gcc -Wall -c scan.c -o scan.o
scan.c:1329:13: warning: 'yyunput' defined but not used [-Wunused-function]
scan.c:1375:12: warning: 'input' defined but not used [-Wunused-function]
ar r libsyscall.a syscallparser.o pars.o scan.o
ar: creating libsyscall.a
ar: libsyscall.a: File truncated
make[2]: *** [libsyscall.a] Error 1
make[2]: Leaving directory `/e/cvs/freemint/shared/libsyscall'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/e/cvs/freemint/shared'
make: *** [all-recursive] Error 1

------------------------

Strange thing is, with vincents crosscompiler it works very well.

bye
Bernd