Skocz do zawartości

[siefs] - Błąd Make


marciek

Rekomendowane odpowiedzi

Witam mam simensa C75 i chciałbym sobie go podłączyć do komputera.

Program "Siefs" wyrzuca mi błąd podczas make :

[marcin@localhost siefs-0.5]$ make
make  all-recursive
make[1]: Wejście do katalogu `/home/pub/make/siefs-0.5'
Making all in siefs
make[2]: Wejście do katalogu `/home/pub/make/siefs-0.5/siefs'
source='siefs.c' object='siefs.o' libtool=no \
       depfile='.deps/siefs.Po' tmpdepfile='.deps/siefs.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'siefs.c' || echo './'`siefs.c
siefs.c: In function ‘new_ascii2utf’:
siefs.c:102: warning: return makes pointer from integer without a cast
siefs.c: In function ‘getdir’:
siefs.c:132: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:139: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c:147: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c:168: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_getdir’:
siefs.c:177: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:179: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_getattr’:
siefs.c:191: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:230: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_mkdir’:
siefs.c:240: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:246: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_unlink’:
siefs.c:257: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:263: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_truncate’:
siefs.c:279: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:290: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_rename’:
siefs.c:301: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:302: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:308: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c:309: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_mknod’:
siefs.c:328: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:337: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_open’:
siefs.c:349: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:393: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_close’:
siefs.c:402: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:413: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_read’:
siefs.c:425: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:428: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c:437: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c:450: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c: In function ‘siefs_write’:
siefs.c:462: warning: passing argument 1 of ‘new_ascii2utf’ discards qualifiers from pointer target type
siefs.c:465: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c:470: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
siefs.c:482: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type
source='obex.c' object='obex.o' libtool=no \
       depfile='.deps/obex.Po' tmpdepfile='.deps/obex.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'obex.c' || echo './'`obex.c
source='transport.c' object='transport.o' libtool=no \
       depfile='.deps/transport.Po' tmpdepfile='.deps/transport.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'transport.c' || echo './'`transport.c
transport.c: In function ‘tra_send’:
transport.c:353: warning: incompatible implicit declaration of built-in function ‘memcpy’
transport.c: In function ‘tra_recv’:
transport.c:478: warning: incompatible implicit declaration of built-in function ‘memcpy’
transport.c:486: warning: incompatible implicit declaration of built-in function ‘memcpy’
transport.c:496: warning: incompatible implicit declaration of built-in function ‘memcpy’
source='comm.c' object='comm.o' libtool=no \
       depfile='.deps/comm.Po' tmpdepfile='.deps/comm.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'comm.c' || echo './'`comm.c
comm.c: In function ‘comm_open’:
comm.c:54: warning: incompatible implicit declaration of built-in function ‘strdup’
comm.c: In function ‘comm_restore’:
comm.c:117: warning: incompatible implicit declaration of built-in function ‘bzero’
source='crcmodel.c' object='crcmodel.o' libtool=no \
       depfile='.deps/crcmodel.Po' tmpdepfile='.deps/crcmodel.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'crcmodel.c' || echo './'`crcmodel.c
source='charset.c' object='charset.o' libtool=no \
       depfile='.deps/charset.Po' tmpdepfile='.deps/charset.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'charset.c' || echo './'`charset.c
charset.c: In function ‘init_charset’:
charset.c:1189: warning: incompatible implicit declaration of built-in function ‘malloc’
make[2]: *** Brak reguł do zrobienia obiektu `/usr/lib/libfuse.a', wymaganego przez `siefs'. Stop.
make[2]: Opuszczenie katalogu `/home/pub/make/siefs-0.5/siefs'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/pub/make/siefs-0.5'
make: *** [all] Błąd 2

Configure przeszło bez przeszkód.

 

Odnośnik do komentarza
Udostępnij na innych stronach

i będzie wszystko git :)
Niekoniecznie - nie wiem czy zależy Ci na dostępie do partycji NTFS i jaki wpływ na ntfs-3g będzie miała samodzielna kompilacja fuse. Prawdopodobnie żaden lub nikły, ale jeśli wystąpią jakieś problemy, to się nie zdziwię.

 

Odnośnik do komentarza
Udostępnij na innych stronach

Samodzielnie zainstalowałem " fuse " działają mi partycje 'ntfs' Kompilowałem tak "

$ ./configure --prefix=/usr --enable-kernel-module --with-kernel=/usr/src/kernels/2.6.23.1-49.fc8-i686
$ mkae
# make install

lecz przy make " siefs " mam błąd ("Uwzględniłem zmianę w plikach Makefile.am i Makefile.in")

[marcin@localhost siefs-0.5]$ make
make  all-recursive
make[1]: Wejście do katalogu `/home/pub/make/siefs-0.5'
Making all in siefs
make[2]: Wejście do katalogu `/home/pub/make/siefs-0.5/siefs'
source='siefs.c' object='siefs.o' libtool=no \
       depfile='.deps/siefs.Po' tmpdepfile='.deps/siefs.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'siefs.c' || echo './'`siefs.c
siefs.c: In function ?new_ascii2utf?:
siefs.c:102: warning: return makes pointer from integer without a cast
siefs.c: In function ?getdir?:
siefs.c:132: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:139: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c:147: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c:168: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_getdir?:
siefs.c:177: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:179: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_getattr?:
siefs.c:191: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:230: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_mkdir?:
siefs.c:240: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:246: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_unlink?:
siefs.c:257: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:263: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_truncate?:
siefs.c:279: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:290: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_rename?:
siefs.c:301: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:302: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:308: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c:309: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_mknod?:
siefs.c:328: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:337: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_open?:
siefs.c:349: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:393: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_close?:
siefs.c:402: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:413: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_read?:
siefs.c:425: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:428: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c:437: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c:450: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c: In function ?siefs_write?:
siefs.c:462: warning: passing argument 1 of ?new_ascii2utf? discards qualifiers from pointer target type
siefs.c:465: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c:470: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
siefs.c:482: warning: passing argument 1 of ?free? discards qualifiers from pointer target type
source='obex.c' object='obex.o' libtool=no \
       depfile='.deps/obex.Po' tmpdepfile='.deps/obex.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'obex.c' || echo './'`obex.c
source='transport.c' object='transport.o' libtool=no \
       depfile='.deps/transport.Po' tmpdepfile='.deps/transport.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'transport.c' || echo './'`transport.c
transport.c: In function ?tra_send?:
transport.c:353: warning: incompatible implicit declaration of built-in function ?memcpy?
transport.c: In function ?tra_recv?:
transport.c:478: warning: incompatible implicit declaration of built-in function ?memcpy?
transport.c:486: warning: incompatible implicit declaration of built-in function ?memcpy?
transport.c:496: warning: incompatible implicit declaration of built-in function ?memcpy?
source='comm.c' object='comm.o' libtool=no \
       depfile='.deps/comm.Po' tmpdepfile='.deps/comm.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'comm.c' || echo './'`comm.c
comm.c: In function ?comm_open?:
comm.c:54: warning: incompatible implicit declaration of built-in function ?strdup?
comm.c: In function ?comm_restore?:
comm.c:117: warning: incompatible implicit declaration of built-in function ?bzero?
source='crcmodel.c' object='crcmodel.o' libtool=no \
       depfile='.deps/crcmodel.Po' tmpdepfile='.deps/crcmodel.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'crcmodel.c' || echo './'`crcmodel.c
source='charset.c' object='charset.o' libtool=no \
       depfile='.deps/charset.Po' tmpdepfile='.deps/charset.TPo' \
       depmode=gcc3 /bin/sh ../depcomp \
       gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/include  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22 -c `test -f 'charset.c' || echo './'`charset.c
charset.c: In function ?init_charset?:
charset.c:1189: warning: incompatible implicit declaration of built-in function ?malloc?
gcc  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22  -L/lib -o siefs  siefs.o obex.o transport.o comm.o crcmodel.o charset.o /usr/lib/libfuse.a -lrt 
/usr/lib/libfuse.a(fuse.o): In function `fuse_put_module':
/home/pub/make/fuse-2.7.1/lib/fuse.c:242: undefined reference to `dlclose'
/usr/lib/libfuse.a(fuse.o): In function `fuse_load_so_name':
/home/pub/make/fuse-2.7.1/lib/fuse.c:179: undefined reference to `dlclose'
/home/pub/make/fuse-2.7.1/lib/fuse.c:165: undefined reference to `dlopen'
/usr/lib/libfuse.a(fuse.o): In function `fuse_get_module':
/home/pub/make/fuse-2.7.1/lib/fuse.c:168: undefined reference to `dlerror'
collect2: ld returned 1 exit status
make[2]: *** [siefs] Błąd 1
make[2]: Opuszczenie katalogu `/home/pub/make/siefs-0.5/siefs'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/pub/make/siefs-0.5'
make: *** [all] Błąd 2

ps. Chyba że fuse trzeba skompilować z jakąś opcją ?

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...