Problem building beta3

Joel Sherrill joel.sherrill at OARcorp.com
Tue May 16 13:27:50 UTC 2000


Again this is because the newlib patch changed.  If you are on Linux,
then grab new RPMs.  Otherwise, you likely want to rebuild tools.

A hack is to install pthread.h with C library headers and manually
replace the time.h with the new one.  That is what the newlib patch
did.  

But importantly... pthread.h moved to newlib so we can start to enable
the multithreaded support in gcc support libraries.


Nick.SIMON at syntegra.bt.co.uk wrote:
> 
> Hi all,
> 
> Having got to beta3 by applying the patches to beta2, I'm getting:
> 
> /opt/rtems/bin/powerpc-rtems-gcc --pipe -B../../../../../../dhe860boot/lib/
> -specs bsp_specs -qrtems -g -Wall -ansi -fasm   -DPPC_ABI=PPC_ABI_EABI
> -DPPC_ASM=PPC_ASM_ELF -DPPC_VECTOR_FILE_BASE=0x00000000 -mcpu=860     -c
> '-D__P(x)=x' -D_read=read -D_write=write -D_close=close
> -D_RTEMS_RPC_INTERNAL_ -O2 -fno-keep-inline-functions -o
> o-optimize/clnt_udp.o
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c: In
> function `clntudp_call':
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:254:
> warning: implicit declaration of function `timerclear'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:285:
> warning: implicit declaration of function `timerisset'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:304:
> warning: implicit declaration of function `select'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:307:
> warning: implicit declaration of function `timeradd'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:309:
> warning: implicit declaration of function `timercmp'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:309:
> parse error before `<'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:318:
> warning: implicit declaration of function `timersub'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:321:
> parse error before `<'
> ../../../../../../../rtems-4.5.0-beta3/c/src/librpc/src/rpc/clnt_udp.c:274:
> warning: label `send_again' defined but not used
> 
> <End of output>
> 
> Looks to me like some macros omitted, but AFAIK I've not done anything near
> to RPCs.  Any ideas?
> 
> -- Nick Simon

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list