Subject: Re: header problems...
To: MacBSD <port-mac68k@netbsd.org>
From: Riccardo Mottola <zuse@libero.it>
List: port-mac68k
Date: 04/16/2003 20:15:21
on 4/16/03 7:48 PM, Allen Briggs at briggs@wasabisystems.com wrote:
> 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.
i have that installed, I also updated it lately. I tried both POSIX and
PTHREADS compilation for gnustep (the choice of which is selectable, being
the first preferred and default)
> 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.
well, it is installed. I had also installed the gnustep package from pkgsrc
compiling it myself. But the versions were not the latest and it gave a lots
of troubles (= compiled but was quite unstable, especially appplications
like gworkspace).
Since I wanted to test unstable version, get to the latest stand and maybe
even contribute with gnustep.
> 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.
at this point I may try that. I had the older gnustep-objc installed, wanted
to update it from the "official" sources but it became a mess, libobjc
wasn't found and so on, they guys on the gnustep-ml advised me to clean and
deinstall all and start from scratch.
I'll check what version is currently available but still, the compile errors
are strange.
>> 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.
Are the gnustep headres the culprit? If yes I'll check out and try to work
it out with the gnustep guys.
Apropos, how is gcc3.2.2 on mac68k? If it is there how do I install it? I t
has vastly improved obj-c support, doesn't anymore need the gnustep-objc
(which isn't officially provided anymore!) and the guys at gnustep are
pressing for the leap.
cheers,
ric