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

Re: realplayer, em86



On 2 Apr 1999, M.Welle wrote:

> I have twiddeled around with this.
> 
> 1)  With the headers from libc6.1-dev_2.0.7.19981211-6.deb, I can
>     compile all the stuff. But linking goes wrong: undef ref to 
>     __getdents. 

I expected this after reading what I wrote earlier :-)  My error, but at
least we know it CAN compile :-)

> 2) With headers from libc6.1-dev_2.1.1-0.1.deb. I have defined
>    _ALPHA_CURRENT_H, _BSD_SOURCE and _USE_BSD. Then it compiles fine,
>    except some missing headerfiles and some problems in socket.c.
>    Around line 380 ( struct iovec  alpha_iovec[X86_UIO_MAXIO]) the
>    compiler say something like storage size of alpha_iovec isnt known?
>    I dont know exactly why.

I do.  With socket.c, I ran into big problems, but I think I solved them.
First off, make sure that it WILL include sys/socket.h (get it out of that
#if statement if it's excluding it -- I just added it again outside of
that as a temporary "let's see if this works" test).  Then, add:
	#include <sys/uio.h>
	#include <netinet/tcp.h>
somewhere after linux/net.h's include.

See where that takes you and let me know.

> So. thats enough for today.

Hehehehe...I know the feeling.  I have to go out now and fight with my
bank and another bank over my teller card.  What a nightmare...

C


Reply to: