Re: Mac OS X problem with native/target/generic/target_generic_network.h
Peter Lovell <[email protected]>
| Newsgroups | gmane.comp.java.vm.sablevm.general |
|---|---|
| Message-ID | <[email protected]> |
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