[GRASS-dev] ubuntu 8.10, grass 6.3, r.fill.dir|r.drain
Jachym Cepicky
jachym.cepicky at gmail.com
Thu Oct 30 02:50:47 EDT 2008
Hi,
I try to package grass 6.3 for ubuntu 8.10 and it failes on r.fill.dir
and r.drain moduels (both do use same type of "open" function and do
fail on the same issue, as it seems to me):
cd r.fill.dir && make
[...]
main.c:273: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
In function 'open',
inlined from 'main' at main.c:199:
/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
In function 'open',
inlined from 'main' at main.c:200:
/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
In function 'open',
inlined from 'main' at main.c:201:
/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: *** [OBJ.i486-pc-linux-gnu/main.o] Error 1
in r.fill.dir/main.c, lines 199-201:
fe=open(tempfile1,O_RDWR|O_CREAT); /* elev */
fd=open(tempfile2,O_RDWR|O_CREAT); /* dirn */
fm=open(tempfile3,O_RDWR|O_CREAT); /* problems */
What do do?
Thanks
Jachym
--
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
More information about the grass-dev
mailing list