apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam TH <...@uchicago.edu>
Subject Re: compilation difficulties on BeOS
Date Sat, 02 Dec 2000 20:50:33 GMT
On Sat, Dec 02, 2000 at 07:07:59PM -0000, David Reid wrote:
> Sam,
> Now I'm really confused.  You shouldn't be getting these errors if there
> isn't a networkio.h file in your beos directories.  Can you make sure that
> you don't have a networkio.h in ANY beos directory that's referenced, i.e.
> network_io/beos
> include/arch/beos
> Can you also check that the one in include/arch/unix has the full definition
> of a socket type, including all the definitions you're missing?
> Failing that, tar up your tree and email me it and I'll investigate best I
> can.  I may be able to get access to a PPC box via someone else so if it
> comes to it I'll check it there. :)  We'll get it fixed!

Yay, it works.  :-)  I had only gotten rid of one of the files.  

Then, I needed the following patch to get it to actually compile the

Index: network_io/beos//Makefile.in
RCS file: /home/cvspublic/apr/network_io/beos/Makefile.in,v
retrieving revision 1.14
diff -r1.14 Makefile.in

Then I encounter this error:

cc -DBEOS -DBEOS  -c -I../../include -Imm shmem.c
### mwcc Compiler Error:
#	MM *newmm = mm_create(reqsize + sizeof(*newmm), file, MM_ALLOCATE_ENOUGH);
#	                                              ^
#   illegal type
    File "/boot/home/apr/shmem/unix/shmem.c"; Line 66

Well, reqsize is apr_size_t, and I am unable to find the declaration
of sizeof (strange, it doesn't even have a linux manpage).  So I'm not
sure why that type is incorrect.
	sam th		     
	GnuPG Key:  

View raw message