On 9 Oct 2007, at 14:27, Marc Brünink wrote:

> Hi David, hi all.
>
> I am building the nightly snapshot. And __OpenBSD__ is defined by GCC.
> However there is no case for OpenBSD in Coro.c and therefore it  
> does not
> compile.
> PortableUContext compiles without a problem. But I do not know if it
> works, yet :-)

If the portable ucontext implementation works, it seems like it can  
just use that.  The header seems to define HAS_UCONTEXT, so I'm not  
really sure what the problem is.  Can you let me see the error you  
get please?

> In the meanwhile I compiled etoile successfully. However etoile_system
> segfaults:
>> 2007-10-09 00:37:24.623 etoile_system[25777] Setting up SCSystem  
>> server
>> instance
>> /usr/local/GNUstep/Local/Tools/etoile_system:/usr/local/GNUstep/ 
>> Local/Library/Bundles/libgnustep-back-013.bundle/./libgnustep- 
>> back-013:
>> undefined symbol 'FTC_Manager_New'
>> lazy binding failed!
>> Segmentation fault (core dumped)
> I haven't figured out how to solve this problem with the library  
> loading,
> yet. Maybe tommorow.

This looks like it's a problem with your installation of the GNUstep  
backend; it is failing to find your copy of FreeType.  Did you  
install GNUstep from ports?

> I made some further general observations:
> 1. It is a good idea to not use gcc 3.3.5 or 3.3.6. Instead update  
> to gcc
> 4.x

Do you know what platform support is like for GCC 4 on OpenBSD?  It's  
not in ports for PowerPC.

> 2. SCPower_OpenBSD.m
> SCPower_OpenBSD.m:70: error: invalid type argument of '->'
> SCPower_OpenBSD.m:77: error: 'APM_BATT_ABSENT' undeclared (first  
> use in
> this fun
> ction)
> I changed '->' in line 70 in SCPower_OpenBSD.m to a dot without  
> further
> checking. Do not know if it is okay. Just want to get on further. I  
> will
> check it tommorrow.
> Added an #ifdef APM_BATT_ABSENT wrapper in line 77.

Fixed both of those in SVN.  Thanks; I don't have an OpenBSD machine  
to test that code on at the moment.

> 3. SC_Sound:
> SC_Sound includes sys/soundcard.h. On my OpenBSD box soundcard.h is
> located directly in usr/include and not in sys. So I changed it to  
> include
> <soundcard.h>

I've changed that to <soundcard.h> and added -I/usr/include/sys in  
the GNUmakefile, so it should find it on all platforms now.

> 5. make distclean
> Entering directory `/home/marc/etoile/Etoile/Developer/Examples/ 
> IoExample'
> gmake[3]: GNUmakefile: No such file or directory
> Try a make distclean on etoile :-)

This one is Quentin's.  The Io example doesn't seem to have a  
GNUmakefile, so it shouldn't be in the subprojects list in the parent  
directory.  If you delete it from the SUBPROJECTS list in Etoile/ 
Developer/Examples/GNUmakefile it should work for now.  Hopefully  
Quentin can add a GNUmakefile that installs it properly later.

David
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à