Compiler error in signal_2.c RTEMS 4.12 m68k

Joel Sherrill joel at rtems.org
Sun Jul 31 16:58:16 UTC 2016


On Fri, Jul 29, 2016 at 10:44 PM, Eric Williams <wd6cmu at gmail.com> wrote:

> ../../../../../../rtems/c/src/../../cpukit/posix/src/signal_2.c:30:1:
> error: unknown type name 'sighandler_t'
>  sighandler_t signal(
>  ^~~~~~~~~~~~
> ../../../../../../rtems/c/src/../../cpukit/posix/src/signal_2.c:32:3:
> error: unknown type name 'sighandler_t'
>    sighandler_t  handler
>    ^~~~~~~~~~~~
> make[5]: *** [src/libposix_a-signal_2.o] Error 1
> make[5]: Leaving directory
> `/home/eric/rtems/4.12/m68k/m68k-rtems4.12/c/mvme162/cpukit/posix'
>
> > head config.log
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
>
> It was created by rtems configure 4.11.99.0, which was
> generated by GNU Autoconf 2.69.  Invocation command line was
>
>   $ ../rtems/configure --target=m68k-rtems4.12 --enable-rtemsbsp=mvme162
> --disable-networking --enable-posix --prefix=/opt/rtems/4.12
>


The RTEMS built for me on FreeBSD with this compiler version:

 m68k-rtems4.12-gcc --version
m68k-rtems4.12-gcc (GCC) 6.1.1 20160609 (RTEMS 4.12, RSB
c476de6150f39afdf142c6f4420c59ba2f1aa2fe-modified, Newlib 2.4.0.20160527)
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

That version matches the RSB master.

What compiler version are you using? What RTEMS version?
For the RTEMS version, a hash works.

--joel


>
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160731/61e5621a/attachment-0002.html>


More information about the users mailing list