bug-gnulib
[Top][All Lists]
Advanced

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

Re: Build errors on Solaris 2.6 & 7


From: Tom G. Christensen
Subject: Re: Build errors on Solaris 2.6 & 7
Date: Mon, 21 Jan 2013 21:53:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

On 01/21/2013 07:58 AM, Paul Eggert wrote:
Oh, my.  I guess it's time to try a more-drastic fix.
Does the following work for you?

Unfortunately not.

It works for Solaris 7-10 but still fails in the same way on Solaris 2.6.

depbase=`echo dtotimespec.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING= 1 -I../intl -I/usr/tgcware/include -D_REENTRANT -g -O2 -MT dtotimespec.o -MD -MP -MF $depbase.Tpo -c -o dtotimespec.o dtotimespe
c.c &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from /usr/tgcware/gcc-4.3.6/lib/gcc/sparc-sun-solaris2.6/4.3.6/include-fixed/sys/signal.h:132, from /usr/tgcware/gcc-4.3.6/lib/gcc/sparc-sun-solaris2.6/4.3.6/include-fixed/signal.h:27,
                 from ./signal.h:52,
                 from ./sys/select.h:78,
from /usr/tgcware/gcc-4.3.6/lib/gcc/sparc-sun-solaris2.6/4.3.6/include-fixed/sys/types.h:431,
                 from ./sys/types.h:27,
                 from /usr/include/sys/time.h:71,
                 from ./sys/time.h:38,
from /usr/tgcware/gcc-4.3.6/lib/gcc/sparc-sun-solaris2.6/4.3.6/include-fixed/time.h:102,
                 from ./time.h:39,
                 from timespec.h:22,
                 from dtotimespec.c:25:
/usr/include/sys/siginfo.h:229: error: expected specifier-qualifier-list before 'timestruc_t' /usr/include/sys/siginfo.h:284: error: expected specifier-qualifier-list before 'timestruc_t'
make[4]: *** [dtotimespec.o] Error 1

This is the include chain:
gnulib <time.h> -> system <time.h> -> gnulib <sys/time.h> -> system <sys/time.h> -> gnulib <sys/types.h> -> system <sys/types.h> -> returns to gnulib <sys/types.h> -> gnulib <sys/select.h> -> system <sys/select.h> -> returns to gnulib <sys/select.h> -> gnulib <signal.h> -> system <signal.h> -> system <sys/signal.h> -> system <sys/siginfo.h>

Preprocessed source for reference:
http://jupiterrise.com/tmp/dtotimespec.i
http://jupiterrise.com/tmp/unpatched-dtotimespec.i

-tgc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]