[Comm] leif-0.5 и Openobex - проблема компиляции

xDiemon =?iso-8859-1?q?test_=CE=C1_rrnn=2Eru?=
Вт Сен 9 16:42:08 MSD 2003


Пытаюсь скомпилировать  пакет,  перед этим делаю make clean
Но выдается ошибка!
Программа работает с bluetooth и openobex


[gonov на shadow leif-0.5]$ make clean
rm -f *.rpo
Making clean in doc
make[1]: Вход в каталог `/home/gonov/soft/t68/leif-0.5/doc'
rm -f *.rpo
Making clean in en
make[2]: Вход в каталог `/home/gonov/soft/t68/leif-0.5/doc/en'
rm -f *.rpo
rm -f index.cache.bz2
rm -rf .libs _libs
rm -f *.lo
make[2]: Выход из каталог `/home/gonov/soft/t68/leif-0.5/doc/en'
Making clean in .
make[2]: Вход в каталог `/home/gonov/soft/t68/leif-0.5/doc'
rm -rf .libs _libs
rm -f *.lo
make[2]: Выход из каталог `/home/gonov/soft/t68/leif-0.5/doc'
make[1]: Выход из каталог `/home/gonov/soft/t68/leif-0.5/doc'
Making clean in po
make[1]: Вход в каталог `/home/gonov/soft/t68/leif-0.5/po'
rm -f *.rpo
rm -rf .libs _libs
rm -f *.lo
make[1]: Выход из каталог `/home/gonov/soft/t68/leif-0.5/po'
Making clean in leif
make[1]: Вход в каталог `/home/gonov/soft/t68/leif-0.5/leif'
rm -f *.rpo
rm -f  settingsdlg.moc.cpp newsms.moc.cpp newcontactdlg.moc.cpp leif.moc.cpp
rm -f leif.all_cpp.cpp
test -z "leif" || rm -f leif
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.lo
make[1]: Выход из каталог `/home/gonov/soft/t68/leif-0.5/leif'
Making clean in .
make[1]: Вход в каталог `/home/gonov/soft/t68/leif-0.5'
rm -rf .libs _libs
rm -f *.lo
make[1]: Выход из каталог `/home/gonov/soft/t68/leif-0.5'
[gonov на shadow leif-0.5]$ ./configure
./configure: line 1142: config.log: Permission denied
[gonov на shadow leif-0.5]$ exit

[gonov на shadow gonov]$ su
Password:
[root на shadow root]# mc
[root на shadow leif-0.5]# make clean
rm -f *.rpo
Making clean in doc
make[1]: Entering directory `/home/gonov/soft/t68/leif-0.5/doc'
rm -f *.rpo
Making clean in en
make[2]: Entering directory `/home/gonov/soft/t68/leif-0.5/doc/en'
rm -f *.rpo
rm -f index.cache.bz2
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/home/gonov/soft/t68/leif-0.5/doc/en'
Making clean in .
make[2]: Entering directory `/home/gonov/soft/t68/leif-0.5/doc'
rm -rf .libs _libs
rm -f *.lo
make[2]: Leaving directory `/home/gonov/soft/t68/leif-0.5/doc'
make[1]: Leaving directory `/home/gonov/soft/t68/leif-0.5/doc'
Making clean in po
make[1]: Entering directory `/home/gonov/soft/t68/leif-0.5/po'
rm -f *.rpo
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/gonov/soft/t68/leif-0.5/po'
Making clean in leif
make[1]: Entering directory `/home/gonov/soft/t68/leif-0.5/leif'
rm -f *.rpo
rm -f  settingsdlg.moc.cpp newsms.moc.cpp newcontactdlg.moc.cpp leif.moc.cpp
rm -f leif.all_cpp.cpp
test -z "leif" || rm -f leif
rm -rf .libs _libs
rm -f *.o core *.core
rm -f *.lo
make[1]: Leaving directory `/home/gonov/soft/t68/leif-0.5/leif'
Making clean in .
make[1]: Entering directory `/home/gonov/soft/t68/leif-0.5'
rm -rf .libs _libs
rm -f *.lo
make[1]: Leaving directory `/home/gonov/soft/t68/leif-0.5'
[root на shadow leif-0.5]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether g++ supports -Wundef... yes
checking whether g++ supports -Wno-long-long... yes
checking whether g++ supports -Wnon-virtual-dtor... yes
checking whether g++ supports -fno-exceptions... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -fexceptions... yes
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -frepo... yes
not using lib directory suffix
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output...
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag  works... no
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "GCJ" to libtool
checking if gcj supports -fno-rtti -fno-exceptions... (cached) no
checking for gcj option to produce PIC... -fPIC
checking if gcj PIC flag -fPIC works... no
checking if gcj supports -c -o file.o... no
checking whether the gcj linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for main in -lutil... yes
checking for main in -lcompat... no
checking for crypt in -lcrypt... yes
checking for socklen_t... socklen_t
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for inet_ntoa... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking crt_externs.h usability... no
checking crt_externs.h presence... no
checking for crt_externs.h... no
checking for _NSGetEnviron... no
checking for sys/types.h... (cached) yes
checking for stdint.h... (cached) yes
checking for poll in -lpoll... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking if res_init needs -lresolv... yes
checking if res_init is available... yes
checking for killpg in -lucb... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for char *... yes
checking size of char *... 4
checking for char... yes
checking size of char... 1
checking for dlopen in -ldl... yes
checking for shl_unload in -ldld... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for Xinerama... no
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... libraries /usr/lib/qt3//lib, headers 
/usr/lib/qt3//include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/lib/qt3//bin/moc
checking for uic... /usr/lib/qt3//bin/uic
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if Qt needs -ljpeg... no
checking for rpath... yes
checking for KDE... libraries /usr/lib, headers /usr/include
checking if UIC has KDE plugins available... yes
checking for KDE paths... defaults
checking for dcopidl... /usr/bin/dcopidl
checking for dcopidl2cpp... /usr/bin/dcopidl2cpp
checking for mcopidl... /usr/bin/mcopidl
checking for artsc-config... /usr/bin/artsc-config
checking for kde-config... /usr/bin/kde-config
checking for meinproc... /usr/bin/meinproc
checking for baswap in -lbluetooth... no
checking if doc should be compiled... yes
checking if leif should be compiled... yes
checking if po should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating doc/Makefile
fast creating doc/en/Makefile
fast creating leif/Makefile
fast creating po/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands

Good - your configure finished. Start make now

[root на shadow leif-0.5]# service lisa start
Starting lan browser daemon for KDE: 
[  OK  ]
[root на shadow leif-0.5]# make
cd . \
   && CONFIG_FILES= CONFIG_HEADERS=config.h \
      /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
make[1]: Entering directory `/home/gonov/soft/t68/leif-0.5'
Making all in leif
make[2]: Entering directory `/home/gonov/soft/t68/leif-0.5/leif'
source='sms.cpp' object='sms.o' libtool=no \
depfile='.deps/sms.Po' tmpdepfile='.deps/sms.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 
-fno-exceptions -fno-check-new  -c -o sms.o `test -f sms.cpp || echo 
'./'`sms.cpp
sms.cpp: In member function `QString SMS::decodeBCD(QString)':
sms.cpp:31: warning: comparison between signed and unsigned integer 
expressions
sms.cpp: In member function `QString SMS::decodeMessage(QString)':
sms.cpp:91: warning: comparison between signed and unsigned integer 
expressions
sms.cpp:126: warning: invalid conversion from `unsigned char*' to `const 
char*'
sms.cpp:126: warning: comparison between signed and unsigned integer 
expressions
sms.cpp: In member function `QString SMS::encodeMessage(QString)':
sms.cpp:701: warning: comparison between signed and unsigned integer 
expressions
sms.cpp:1270: warning: invalid conversion from `unsigned char*' to 
`const char*'
sms.cpp:1270: warning: comparison between signed and unsigned integer 
expressions
source='newsms.cpp' object='newsms.o' libtool=no \
depfile='.deps/newsms.Po' tmpdepfile='.deps/newsms.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include 
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT 
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W 
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 
-fno-exceptions -fno-check-new  -c -o newsms.o `test -f newsms.cpp || 
echo './'`newsms.cpp
In file included from leif.h:31,
                  from newsms.h:18,
                  from newsms.cpp:18:
leifobex.h:20:29: openobex/obex.h: No such file or directory
In file included from leif.h:31,
                  from newsms.h:18,
                  from newsms.cpp:18:
leifobex.h:56: syntax error before `*' token
leifobex.h:57: `obex_t' was not declared in this scope
leifobex.h:57: `handle' was not declared in this scope
leifobex.h:57: `obex_object_t' was not declared in this scope
leifobex.h:57: `object' was not declared in this scope
leifobex.h:57: parse error before `,' token
leifobex.h:58: `obex_t' was not declared in this scope
leifobex.h:58: `handle' was not declared in this scope
leifobex.h:58: `obex_object_t' was not declared in this scope
leifobex.h:58: `object' was not declared in this scope
leifobex.h:58: parse error before `,' token
leifobex.h:59: `obex_t' was not declared in this scope
leifobex.h:59: `handle' was not declared in this scope
leifobex.h:60: `obex_t' was not declared in this scope
leifobex.h:60: `handle' was not declared in this scope
leifobex.h:62: `obex_t' was not declared in this scope
leifobex.h:62: `handle' was not declared in this scope
leifobex.h:62: parse error before `*' token
leifobex.h:63: `obex_t' was not declared in this scope
leifobex.h:63: `handle' was not declared in this scope
leifobex.h:63: variable or field `syncwait' declared void
newsms.cpp: In member function `NewSMSDlg::NewSMSDlg(QWidget*, const 
char*)':
newsms.cpp:27: warning: unused parameter `QWidget*parent'
newsms.cpp: In member function `void NewSMSDlg::updateRemaining()':
newsms.cpp:85: warning: comparison between signed and unsigned integer 
expressions
/usr/lib/qt3/include/qstringlist.h: At top level:
leifobex.h:61: warning: `char* obexPutReadFile(char*, int*)' declared 
`static' but never defined
make[2]: *** [newsms.o] Error 1
make[2]: Leaving directory `/home/gonov/soft/t68/leif-0.5/leif'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gonov/soft/t68/leif-0.5'
make: *** [all] Error 2
[root на shadow leif-0.5]#




Подробная информация о списке рассылки community