: 14 listopada 2008, 10:02
No to jajco kolejne ...
Przy "make" wywalał mi:
No to poszedłem za ciosem, więc "aptitude search ssl" no i z tego co pamiętam zainstalowałem libssl-dev.. ale dalej coś chrzani że niezdefiniowane referencje ... itp.. zobaczcie sami:
Przy "make" wywalał mi:
Kod: Zaznacz cały
/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
make: *** [install_make] Błąd 1
Kod: Zaznacz cały
$ make
if ! grep CONFIG_DIR src/config.h > /dev/null; then echo "#define CONFIG_DIR \"/usr/local/share\"" >> src/config.h; fi
if ! test -f ggbot; then gcc -I.. -I/usr/include/readline -I/usr/local/include/python2.5 -I/usr/local/include -o ggbot src/ggbot.c /usr/local/lib/libgadu.a -lssl -lcrypto -ltermcap -lreadline -L/usr/local/lib -L/usr/local/lib/python2.5/config -lpython2.5 -lutil -lm -g -O2 -pthread -Xlinker -export-dynamic ; fi
In file included from src/ggbot.c:105:
src/users.c: In function ‘get_users’:
src/users.c:216: warning: cast from pointer to integer of different size
src/users.c:216: warning: cast from pointer to integer of different size
In file included from src/ggbot.c:107:
src/timers.c: In function ‘calculate_time’:
src/timers.c:345: warning: comparison between pointer and integer
src/timers.c:359: warning: comparison between pointer and integer
src/timers.c:384: warning: comparison between pointer and integer
src/timers.c:409: warning: comparison between pointer and integer
In file included from src/ggbot.c:112:
src/conf.c: In function ‘config_load’:
src/conf.c:94: warning: cast from pointer to integer of different size
src/conf.c:95: warning: cast from pointer to integer of different size
In file included from src/ggbot.c:117:
src/protocol.c: In function ‘ggbot_connect’:
src/protocol.c:219: warning: cast from pointer to integer of different size
src/protocol.c:220: warning: cast from pointer to integer of different size
/usr/local/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_tmpnam':
/home/bialy/download/Python-2.5.2/./Modules/posixmodule.c:6862: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/local/lib/python2.5/config/libpython2.5.a(posixmodule.o): In function `posix_tempnam':
/home/bialy/download/Python-2.5.2/./Modules/posixmodule.c:6817: warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/local/lib/libreadline.so: undefined reference to `PC'
/usr/local/lib/libreadline.so: undefined reference to `tgetflag'
/usr/local/lib/libreadline.so: undefined reference to `tgetent'
/usr/local/lib/libreadline.so: undefined reference to `UP'
/usr/local/lib/libreadline.so: undefined reference to `tputs'
/usr/local/lib/libreadline.so: undefined reference to `tgoto'
/usr/local/lib/libreadline.so: undefined reference to `tgetnum'
/usr/local/lib/libreadline.so: undefined reference to `BC'
/usr/local/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make: *** [install_make] Błąd 1