Re: Can't compile mol: ucontext redefined


Subject: Re: Can't compile mol: ucontext redefined
From: Jens Schmalzing (jens@tac.dk)
Date: Fri Mar 16 2001 - 14:28:46 MST


Hi,

David H. Wagner writes:

> Entering '/usr/src/redhat/BUILD/mol/emulation'
> gcc -pipe -O3 -Wall -I/usr/src/redhat/BUILD/mol/sinclude -I./include
> -I../include -msoft-float -c -o obj/main.o main.c
> In file included from main.c:49:
> /usr/include/asm/ucontext.h:6: redefinition of `struct ucontext'
> make[1]: *** [obj/main.o] Error 1
> make: *** [_subdir_emulation] Error 2

I simply removed the `#include <asm/ucontext.h>'-line from the file.
Also, I had to add `#include <stdarg.h>'-lines to several files where
it was complaining about undefined va_-stuff. Unfortunately, mol
still freezes with MacOS 9.1, so I'll have to wait for further updates
anyway.

Regards, Jens.

-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!



This archive was generated by hypermail 2a24 : Fri Mar 16 2001 - 14:26:37 MST