On Jul 29, 2011, at 07:34 22, Wayne Merricks wrote: > In file included from /usr/include/fcntl.h:205, > from rconf.cpp:28: > In function ‘int open(const char*, int, ...)’, > inlined from ‘int IncrementIndex(char*, int)’ at rconf.cpp:248: > /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ > declared with attribute error: open with O_CREAT in second argument needs > 3 arguments > make[1]: *** [rconf.o] Error 1 > make[1]: Leaving directory `/home/rivwks/Downloads/gpio-1.1.0/utils' > make: *** [all-recursive] Error 1 > > > I'm not a great C programmer but the error looks like a code issue with > supplying the wrong arguments to a function? If anyone has any experience > with GPIO and Ubuntu it would be very appreciated.
This is an Ubuntu-ism. To work around it, do the following before invoking 'configure' (this assumes a bash shell): export CPPFLAGS=-D_FORTIFY_SOURCE=0 Cheers! |-------------------------------------------------------------------------| | Frederick F. Gleason, Jr. | Chief Developer | | | Paravel Systems | |-------------------------------------------------------------------------| | Obstacles are what you see when you take your eyes off the road. | | -- Anonymous | |-------------------------------------------------------------------------| _______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
