[Prev][Next][Index][Thread]

Re: Problem compiling OSKit 0.97 with Linux




 These files are not supposed to be compiled under Linux yet, only
when building on FreeBSD.

Don't give the --unix-examples switch when building on Linux.
Steve Clawson is porting the unix support to Linux; this will 
most likely be in the next release.

	- Godmar

> 
> When running a make I get the following:
> 
> make[1]: Leaving directory `/extra/oskit-0.97/examples/x86/threads'
> make[1]: Entering directory `/extra/oskit-0.97/unix'
> gcc -c -o crt0.o -DOSKIT -DCRT0 -DDYNAMIC crt0.c
> crt0.c:86: conflicting types for `_DYNAMIC'
> /usr/include/link.h:79: previous declaration of `_DYNAMIC'
> crt0.c: In function `__do_dynamic_link':
> crt0.c:219: storage size of `crt' isn't known
> crt0.c:241: structure has no member named `a_magic'
> crt0.c:282: `CRT_VERSION_BSD_4' undeclared (first use this function)
> crt0.c:282: (Each undeclared identifier is reported only once
> crt0.c:282: for each function it appears in.)
> crt0.c:286: `CRT_VERSION_BSD_3' undeclared (first use this function)
> crt0.c:287: invalid use of undefined type `struct _dynamic'
> crt0.c:292: dereferencing pointer to incomplete type
> crt0.c:305: `LDSO_VERSION_HAS_DLEXIT' undeclared (first use this function)
> crt0.c:306: dereferencing pointer to incomplete type
> crt0.c: In function `dlopen':
> crt0.c:323: dereferencing pointer to incomplete type
> crt0.c: In function `dlclose':
> crt0.c:333: dereferencing pointer to incomplete type
> crt0.c: In function `dlsym':
> crt0.c:344: `LDSO_VERSION_HAS_DLSYM3' undeclared (first use this function)
> crt0.c:346: dereferencing pointer to incomplete type
> crt0.c:348: dereferencing pointer to incomplete type
> crt0.c: At top level:
> crt0.c:354: conflicting types for `dlerror'
> /usr/include/dlfcn.h:58: previous declaration of `dlerror'
> crt0.c: In function `dlerror':
> crt0.c:358: dereferencing pointer to incomplete type
> make[1]: *** [crt0.o] Error 1
> make[1]: Leaving directory `/extra/oskit-0.97/unix'
> make: *** [unix/all.MAKE] Error 2
> [chroma@chroma oskit-0.97]$
> 
> Some more possibly relevant information:
> [chroma@chroma unix]$ uname -a
> Linux chroma 2.0.31 #5 Wed Nov 12 00:26:58 EST 1997 i486
> unknown                                      
> [chroma@chroma unix]$ gcc --version
> 2.7.2.3   
> 
> If anyone could help, it would be greatly appreciated.
> 
> Simon
> =================================
> To subscribe or unsubscribe, send mail with "subscribe" or "unsubscribe"
> to oskit-users-request@flux.cs.utah.edu.  The oskit-announce list is low
> volume - if you want to subscribe, mail oskit-announce-request@flux.cs.utah.edu
> 

=================================
To subscribe or unsubscribe, send mail with "subscribe" or "unsubscribe"
to oskit-users-request@flux.cs.utah.edu.  The oskit-announce list is low
volume - if you want to subscribe, mail oskit-announce-request@flux.cs.utah.edu


Follow-Ups: References: