Subject: Re: header problems...
To: Riccardo Mottola <zuse@libero.it>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-mac68k
Date: 04/16/2003 13:48:02
On Wed, Apr 16, 2003 at 07:34:51PM +0200, Riccardo Mottola wrote:
> I am using the official 1.6 kernel that went along with the distribution.

OK.  So you're not running -current.  What you want, then, is to have a
pkgsrc pthread package installed.  I think the generally preferred one
is pth--the current version of which in pkgsrc appears to be 1.4.1nb7.

Instead of compiling gnustep-objc by hand, though, have you considered
updating the pkgsrc package?  pkgsrc will do some of the dependency
handling for you, including getting the pthread package installed.

If you get the updated package(s) to work, you can submit them as
change-request PRs and help out those others who are interested in
having updated packages.

> no it dosent, but honestly I'm too ignorant to really know what it fails.
> That is only a warning, 9did jsut cut&paste the ending of the stdout) later
> on it says:
> thr-posix.c:101: warning: unused variable `params'
> thr-posix.c: In function `__objc_thread_get_priority':
> thr-posix.c:134: storage size of `params' isn't known
> thr-posix.c:134: warning: unused variable `params'
> thr-posix.c:140: warning: control reaches end of non-void function
> gmake[1]: *** [shared_obj/m68k/netbsdelf1.6/gnu-gnu-gnu/thr-posix.o] Error 1
> gmake: *** [libobjc.all.clibrary.variables] Error 2
> 
> which is in the thr-posix.c file, also here there are only warnings except
> the fact that "storage size of 'parms' isn't known. Could that be the
> problem?

That's certainly a problem.  What it probably means is that not all of the
required types are defined in your header files.

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 Wasabi Systems, Inc.             http://www.wasabisystems.com/