Subject: Re: Unproven pthreads
To: gabriel rosenkoetter <gr@eclipsed.net>
From: David Rogers <drogers@halo7.net>
List: port-mac68k
Date: 05/07/2001 15:52:00
I had to change the configure.in to recognize m68k with NetBSD 1.5 so that
it would configure.

Here's how my build dies:

gcc -O2 -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Wno-uninitialized 
-I/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17
-I/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include
-I/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include
-DPTHREAD_KERNEL -D_REENTRANT  -Werror
-I/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17
-I/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include
-I/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include
-DPTHREAD_KERNEL -D_REENTRANT -c
/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/pthreads/cle
anup.c
cc1: warnings being treated as errors
In file included from
/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include/pthr
ead.h:80,
                 from
/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/pthreads/cle
anup.c:42:
/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include/pthr
ead/kernel.h:97: warning: `struct fd_table_entry' declared inside parameter
list
/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include/pthr
ead/kernel.h:97: warning: its scope is only this definition or declaration,
/usr/pkgsrc/devel/unproven-pthreads/work/unproven-pthreads-0.17/include/pthr
ead/kernel.h:97: warning: which is probably not what you want.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

I can't figure out where the -Werror comes from.  I've searched through the
Makefiles and I'm confused.

Any help?

Dave Rogers

> On Mon, May 07, 2001 at 08:38:20AM -0500, David Rogers wrote:
>> Well, I got pkgsrc, but now it says it's an unsupported
>> platform(m68k-apple-netbsd1.5U).  I tried editing configure.in like it says
>> in /usr/pksrc/devel/unproven-pthreads/files/unproven-pthreads/configure.in
>> 
>> Or somewhere close to there.  But it  didn't work.  Is there another
>> configure.in?
> 
> Ugh.
> 
> I haven't tried using pthreads on m68k, so I didn't realize that'd
> be the problem.
> 
> I don't have an easy answer for that... I'd recommend you email the
> list with that more detailed problem, though.
> 
> Not sure if the solution is just figuring out the right things to
> put in configure.in, or if some code will *really* need to be
> changed.
> 
> Are there any supported 68k platforms?
> 
>      ~ g r @ eclipsed.net
>