[sane-devel] Compiling problem 1.0.9pre1

Matthew Duggan stauff@guarana.org
Tue, 1 Oct 2002 17:43:55 +1000


Quoting luca filigheddu <filosnet@tiscali.it>:

> Hi all,
> I'm trying to compiling sane backends 1.0.9pre1.
> I get the following error:
> 
> abaton.c: In function `sane_abaton_exit':
> abaton.c:901: warning: cast discards qualifiers from pointer target type
> abaton.c:902: warning: cast discards qualifiers from pointer target type
> rm -f abaton-s.c
> ln ./stubs.c abaton-s.c
> ln: creating hard link `abaton-s.c' to `./stubs.c': Operation not permitted
> make[1]: *** [abaton-s.c] Error 1
> 
> I have Mandrake 8.1 with gcc 3.0.1.
> 
...
Hi,

What filesystem is this on?  The only common ones I can think of off the 
top of my head that don't allow hard links are smbfs and fat32.  If 
you're using one of them, try compiling it on an ext2/ext3 partition.  

Cheers,

Matthew Duggan
http://canon-fb330p.sourceforge.net/




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/