i have mandrake 8 with gcc 2.96.
I can not compile dlxcc program.th code of this program are in:
ftp://max.stanford.edu/pub/max/pub/hennessy-patterson.software/dlx.tar.Z
i do this:
1.cd /home/mmm876/programas/dlx/
2.tar xvzf dlx.tar.Z
3.cd /home/mmm876/programas/dlx/dlx/gcc
4.[mmm876@m gcc]$ ./config.gcc dlx
Linked `config.h' to `./config/xm-dlx.h'.
Linked `tm.h' to `./config/tm-dlx.h'.
Linked `md' to `./config/dlx.md'.
Linked `aux-output.c' to `./config/out-dlx.c'.
Links are now set up for use with a dlx.
5.[mmm876@m gcc]$ make
cc -g -I. -I. -I./config \
-DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" \
-DSTANDARD_EXEC_PREFIX=\"/gcc-\" -c \
`echo ./gcc.c | sed 's,^\./,,'`
In file included from /usr/include/stdio.h:64,
from gcc.c:120:
/usr/include/libio.h:455: parse error before `__gnuc_va_list'
/usr/include/libio.h:457: parse error before `__gnuc_va_list'
In file included from gcc.c:120:
/usr/include/stdio.h:284: parse error before `__gnuc_va_list'
/usr/include/stdio.h:286: parse error before `__gnuc_va_list'
/usr/include/stdio.h:290: parse error before `__gnuc_va_list'
/usr/include/stdio.h:299: parse error before `__gnuc_va_list'
gcc.c: In function `pfatal_with_name':
gcc.c:1870: conflicting types for `sys_errlist'
/usr/include/stdio.h:553: previous declaration of `sys_errlist'
gcc.c: In function `perror_with_name':
gcc.c:1884: conflicting types for `sys_errlist'
/usr/include/stdio.h:553: previous declaration of `sys_errlist'
gcc.c: In function `perror_exec':
gcc.c:1898: conflicting types for `sys_errlist'
/usr/include/stdio.h:553: previous declaration of `sys_errlist'
make: *** [gcc.o] Error 1
what happend?
help me please.
thanks.
--
---
|\ /|
| \Manuel Martin Martin / |
|\ [EMAIL PROTECTED] / |
| \ ___/ |
| |
|mmm |
||
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com