Realure to build uberbaum tree for m68k-elf

Peter Barada peter@baradas.org
Sun Feb 2 22:13:00 GMT 2003


I haven't been ablke to build the uberbaum tree configured with
--target=m68k-elf for the past few days.  Previous I had problems with
a missiung tk8.4 directory, and it was suggested by Christopher Faylor
that I remove it.  After removing the tix directory and configuring
again, the build fails trying to build the rda part of GDB:

/home/peter/work/cvs-gnu/obj/gcc/xgcc -B/home/peter/work/cvs-gnu/obj/gcc/ -nostdinc -B/home/peter/work/cvs-gnu/obj/m68k-elf/newlib/ -isystem /home/peter/work/cvs-gnu/obj/m68k-elf/newlib/targ-include -isystem /home/peter/work/cvs-gnu/uberbaum/newlib/libc/include -B/home/mylocal/uberbaum/m68k-elf/m68k-elf/bin/ -B/home/mylocal/uberbaum/m68k-elf/m68k-elf/lib/ -isystem /home/mylocal/uberbaum/m68k-elf/m68k-elf/include -L/home/peter/work/cvs-gnu/obj/ld -DHAVE_CONFIG_H -I. -I/home/peter/work/cvs-gnu/uberbaum/rda/lib -I.. -I/home/peter/work/cvs-gnu/uberbaum/rda/lib -I/home/peter/work/cvs-gnu/uberbaum/rda/lib/../include -I/home/peter/work/cvs-gnu/uberbaum/rda/lib/../../include   -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith  -O2 -g -O2 -c `test -f '/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c' || echo '/home/peter/work/cvs-gnu/uberbaum/rda/lib/'`/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c: In function `gdbsocket_startup':
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:191: error: storage size of `sockaddr' isn't known
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:202: warning: implicit declaration of function `socket'
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:202: error: `PF_INET' undeclared (first use in this function)
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:202: error: (Each undeclared identifier is reported only once
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:202: error: for each function it appears in.)
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:202: error: `SOCK_STREAM' undeclared (first use in this function)
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:213: warning: implicit declaration of function `setsockopt'
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:213: error: `SOL_SOCKET' undeclared (first use in this function)
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:213: error: `SO_REUSEADDR' undeclared (first use in this function)
/home/peter/work/cvs-gnu/uberbaum/rda/lib/gdbsocket.c:215: error: `SO_KEEPALIVE' undeclared (first use in this function)


Any suggestions on how to get past this are most appreciated.

-- 
Peter Barada
peter@baradas.org



More information about the Gcc mailing list