Linux 15.036 Themen, 107.107 Beiträge

sim kompilieren

Horrorguppy / 6 Antworten / Baumansicht Nickles

hallo
wenn ich sim(Simple Instant Messenger) kompiliere bricht er beim make mit folgender meldung ab:

-------------------------------------SCHIPP-------------------------------------
icqssl.cpp: In member function `void SSLClient::initSSL()\':
icqssl.cpp:154: invalid conversion from `void (*)()\' to `void (*)(const SSL*,
int, int)\'
make[3]: *** [icqssl.o] Fehler 1
make[3]: Leaving directory `/usr/src/sim-0.8.1/sim/libicq\'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/sim-0.8.1/sim\'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/sim-0.8.1\'
make: *** [all] Fehler 2
-------------------------------------SCHNAPP-------------------------------------

kann mir jemand sagen warum ? brauch ich dazu unbedingt SSL ?

bei Antwort benachrichtigen
Plazebo Horrorguppy „sim kompilieren“
Optionen

OpenSSL, bzw. LibOpenSSL von den CDs nachinstallieren. SSL wird nur für die Herstellung einer verschlüsselten Verbindung gebraucht.

bei Antwort benachrichtigen
Horrorguppy Plazebo „OpenSSL, bzw. LibOpenSSL von den CDs nachinstallieren. SSL wird nur für die...“
Optionen

Ich hab OpenSSL version 0.9.7 installiert.

hab auch nochmal neu installiert, und es ändert sich nichts !

bei Antwort benachrichtigen
polytaen Horrorguppy „sim kompilieren“
Optionen

Gibts bei ./configure denn schon Fehler? Die sollten beachtet werden.
Wenn ./configure durchläuft, sollte es keine Fehler geben.

poly

-      .---.        .----------     /     \  __  /     ------    / /     \(  )/    -----   //////   ' \/ `   ---  //// / // :    : --- // /   /  /`    '--//          //..\\       ====MM====MM====           '//||\\`
bei Antwort benachrichtigen
Horrorguppy polytaen „Gibts bei ./configure denn schon Fehler? Die sollten beachtet werden. Wenn...“
Optionen

es kommt ne warnung

-------------------------------------SCHNIPP-----------------------------------
configure: WARNING: X11/extensions/scrnsaver.h: present but cannot be compiled
configure: WARNING: X11/extensions/scrnsaver.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/scrnsaver.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
-------------------------------------SCHNAPP-----------------------------------

die hat aber meiner ansicht nach nix mit SSL zu tun

bei Antwort benachrichtigen
polytaen Horrorguppy „sim kompilieren“
Optionen

Kannst Du mal sagen, wo Du das Packt her hast?
Kann mal hier compilieren.

Kannst Du n bisschen mehr von der Fehlermeldung posten (configure, sowie make). Nicht viel mehr, nur so 10 Zeilen drüber bei make.

Vielleicht brauchst Du auch die Developer Packete (ssl-dev). Die enthalten die entsprechenden libraries zum kompilieren.

Bis denne
poly

-      .---.        .----------     /     \  __  /     ------    / /     \(  )/    -----   //////   ' \/ `   ---  //// / // :    : --- // /   /  /`    '--//          //..\\       ====MM====MM====           '//||\\`
bei Antwort benachrichtigen
Horrorguppy polytaen „Kannst Du mal sagen, wo Du das Packt her hast? Kann mal hier compilieren. Kannst...“
Optionen

ich hab die sourcen von http://sim-icq.sourceforge.net

ich hab keine paktverwaltung (hab LRs)!



das is die configure ausgabe:
_________________________________________________________________________
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 kde-config... /usr/local/kde/bin/kde-config
checking KDE version... 3.1
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 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 -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
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 how to run the C preprocessor... gcc -E
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... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
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) yes
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 for res_init... no
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 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
Setting Linux pthread compilation options
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/qt/lib, headers /usr/qt/include using -mt
checking if Qt compiles without flags... no
checking for moc... /usr/qt/bin/moc
checking for uic... /usr/qt/bin/uic
checking if Qt needs -ljpeg... no
checking for Qt... (cached) libraries /usr/qt/lib, headers /usr/qt/include using -mt
checking if Qt compiles without flags... (cached) no
checking for moc... /usr/qt/bin/moc
checking for uic... /usr/qt/bin/uic
checking if Qt needs -ljpeg... (cached) no
checking for KDE... checking for rpath... yes
libraries /usr/local/kde/lib, headers /usr/local/kde/include
checking for KDE paths... defaults
checking for kde-config... /usr/local/kde/bin/kde-config
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
./configure: no: command not found
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for umask... yes
checking if OpenSSL support is desired... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for DH_free in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking if OpenSSL support can be enabled... yes
checking if struct tm has tm_gmtoff member... yes
checking for XScreenSaverRegister in -lXext... no
checking for XScreenSaverRegister in -lXss... yes
checking X11/extensions/scrnsaver.h usability... no
checking X11/extensions/scrnsaver.h presence... yes
configure: WARNING: X11/extensions/scrnsaver.h: present but cannot be compiled
configure: WARNING: X11/extensions/scrnsaver.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/scrnsaver.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for X11/extensions/scrnsaver.h... yes
checking krootpixmap.h usability... yes
checking krootpixmap.h presence... yes
checking for krootpixmap.h... yes
checking ktextedit.h usability... yes
checking ktextedit.h presence... yes
checking for ktextedit.h... yes
checking ktextbrowser.h usability... yes
checking ktextbrowser.h presence... yes
checking for ktextbrowser.h... yes
checking kextsock.h usability... yes
checking kextsock.h presence... yes
checking for kextsock.h... yes
checking kabc/stdaddressbook.h usability... yes
checking kabc/stdaddressbook.h presence... yes
checking for kabc/stdaddressbook.h... yes
checking if pict should be compiled... yes
checking if po should be compiled... yes
checking if sim should be compiled... yes
checking if sounds should be compiled... yes
configure: creating ./config.status
fast creating ./Makefile
fast creating pict/Makefile
fast creating po/Makefile
fast creating sim/Makefile
fast creating sim/libicq/Makefile
fast creating sim/qt3/Makefile
fast creating sim/ui/Makefile
fast creating sim/xpm/Makefile
fast creating sounds/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
_________________________________________________________________________

und das make:
_________________________________________________________________________
make all-recursive
make[1]: Entering directory `/usr/src/sim-0.8.1'
Making all in sim
make[2]: Entering directory `/usr/src/sim-0.8.1/sim'
Making all in libicq
make[3]: Entering directory `/usr/src/sim-0.8.1/sim/libicq'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/kde/include -I/usr/qt/include -I/usr/qt/include -I/usr/X11R6/include -I.. -DPIC -fPIC -DQT_THREAD_SUPPORT -DPIC -fPIC -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions -fno-check-new -MT icqssl.o -MD -MP -MF ".deps/icqssl.Tpo" \
-c -o icqssl.o `test -f 'icqssl.cpp' || echo './'`icqssl.cpp; \
then mv ".deps/icqssl.Tpo" ".deps/icqssl.Po"; \
else rm -f ".deps/icqssl.Tpo"; exit 1; \
fi
icqssl.cpp: In member function `void SSLClient::initSSL()':
icqssl.cpp:154: invalid conversion from `void (*)()' to `void (*)(const SSL*,
int, int)'
make[3]: *** [icqssl.o] Fehler 1
make[3]: Leaving directory `/usr/src/sim-0.8.1/sim/libicq'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/src/sim-0.8.1/sim'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/src/sim-0.8.1'
make: *** [all] Fehler 2
_________________________________________________________________________

bei Antwort benachrichtigen