Subject: Re: current isn't building and I think it's
To: None <current-users@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: current-users
Date: 12/26/2005 13:25:01
On Sun, 25 Dec 2005 13:05:12 -0500
"Perry E. Metzger" <perry@piermont.com> wrote:

[...] 
> I believe the reasonable fix for now is to set your lintflags
> in sys.mk to -chapbxzFS (that is, add "S"). I'm testing this now.

Hi Perry,

The firefox port is broken on -current because of an error in 'configure'
(see below).  I suspect the problem is related, but I'm not sure.

I tried adding the 'S' to the linflags in /usr/pkg/share/mk/sys.mk, but
it didn't help.  (I see that /usr/share/mk/sys.mk already has the 'S'.)

Any thoughts?


configure:5213: checking for pthread_create in -lpthread
cc -o dummy dummy.c -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -pip
e -ansi -Wall -I/usr/pkg/include -I/usr/include -I/usr/X11R6/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -lpthread -Wl,
-R/usr/pkg/lib/firefox -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -lm -lintl
In file included from /usr/include/machine/endian_machdep.h:7,
                 from /usr/include/sys/endian.h:78,
                 from /usr/include/machine/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/sys/time.h:38,
                 from /usr/include/time.h:131,
                 from /usr/include/pthread.h:44,
                 from dummy.c:2:
/usr/include/machine/byte_swap.h:49: error: syntax error before "u_int32_t"
/usr/include/machine/byte_swap.h:50: error: syntax error before "u_int16_t"
/usr/include/machine/byte_swap.h:52: error: syntax error before "u_int32_t"
/usr/include/machine/byte_swap.h:65: error: syntax error before "u_int16_t"
In file included from /usr/include/machine/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/sys/time.h:38,
                 from /usr/include/time.h:131,
                 from /usr/include/pthread.h:44,
                 from dummy.c:2:
/usr/include/sys/endian.h:188: error: syntax error before "void"
/usr/include/sys/endian.h:197: error: syntax error before "void"
/usr/include/sys/endian.h:206: error: syntax error before "__uint16_t"
/usr/include/sys/endian.h:214: error: syntax error before "__uint16_t"
/usr/include/sys/endian.h:222: error: syntax error before "void"
/usr/include/sys/endian.h:233: error: syntax error before "void"
/usr/include/sys/endian.h:244: error: syntax error before "__uint32_t"
/usr/include/sys/endian.h:252: error: syntax error before "__uint32_t"
/usr/include/sys/endian.h:260: error: syntax error before "void"
/usr/include/sys/endian.h:269: error: syntax error before "void"
/usr/include/sys/endian.h:278: error: syntax error before "__uint64_t"
/usr/include/sys/endian.h:286: error: syntax error before "__uint64_t"