Re: Mac OS X problem with native/target/generic/target_generic_network.h
David Bélanger <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
Hi, I added these line some time ago as on 10.2 socklen_t in not defined in any headers and all apps requiring were simply defining it themselves. As you mentionned, the best way would be an autoconf test. David On Mon, Dec 06, 2004 at 12:55:09PM -0500, Peter Lovell wrote: > Hi Chris, > as you noticed, it works fine if the typedef is commented out. > > This change (in Apple's headers) too place back with OS X 10.2 so it's > probably fine just to make the change unconditional. It would be nicer > I guess to fix it in autoconf but I haven't yet had the time. > > I certainly hope no-one's still using 10.1 or (gasp) 10.0. If they are, > then they have a great many problems worse than this! > > Regards.....Peter > > On Dec 6, 2004, at 12:05 PM, Chris Burdess wrote: > > >At lines 62-65 of native/target/generic/target_generic_network.h > >(sablevm-classpath-1.1.7), the following lines > > > >#ifdef __APPLE__ > >typedef unsigned int socklen_t; > >#endif /* __APPLE__ */ > > > >cause the following error during build: > > > >error: previous declaration of 'socklen_t' was here > > > >If I comment out these lines everything works fine (thanks gadek!). > > > >This is on the powerpc-apple-darwin7.6.0 platform. > >-- > >Chris Burdess > > > > > >_______________________________________________ > >SableVM-user mailing list > >[email protected] > >http://sablevm.org/lists/control/listinfo/sablevm-user > > > _______________________________________________ > SableVM-user mailing list > [email protected] > http://sablevm.org/lists/control/listinfo/sablevm-user -- --- David Bélanger Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt