Hi, Le 15 juin 08 à 22:31, kpropell a écrit :
> Hello:) > Trying to get Etoile compiled on a Ubuntu setup. Etoile revision is: > 3193 > > [snip] > ETGetOptionsDictionary.m: In function ‘ETGetOptionsDictionary’: > ETGetOptionsDictionary.m:23: warning: implicit declaration of function > ‘getopt’ > ETGetOptionsDictionary.m:28: error: ‘optopt’ undeclared (first use > in this > function) > ETGetOptionsDictionary.m:28: error: (Each undeclared identifier is > reported > only once > ETGetOptionsDictionary.m:28: error: for each function it appears in.) > ETGetOptionsDictionary.m:35: error: ‘optarg’ undeclared (first use > in this > function) > make[1]: *** [obj/ETGetOptionsDictionary.o] Error 1 > make: *** [libEtoileFoundation.all.subproject.variables] Error 2 > [EMAIL PROTECTED]:~/Etoile/Frameworks/EtoileFoundation/Source$ Fixed with r3198. Thanks for the report. However I get a warning about getopt() being an implicit function. In fact, the function doesn't seem to be declared directly in unistd.h as expected, and the man page doesn't mention any preprocessor variables to define in addition to unistd.h include. If somebody knows where the problem lies, let me know :-) Cheers, Quentin. _______________________________________________ Etoile-discuss mailing list [email protected] https://mail.gna.org/listinfo/etoile-discuss
