Skocz do zawartości

Kompilacja Ggbot


Kocurkiewicz

Rekomendowane odpowiedzi

poszło bez -lcom_err w makefile-u

 

[kocurkiewicz@localhost ggbot]$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... 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 how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for pkg-config... pkg-config
checking for OpenSSL... yes
checking for tgetent... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for tgetent in -lcurses... no
checking for tgetent in -lncurses... no
checking which library has the termcap functions... using gnutermcap
checking for readline.h... /usr/include/readline/readline.h
checking for rl_get_screen_size... no
checking for python... /usr/bin/python
checking for Python.h... found
checking for libgadu... found
configure: creating ./config.status
config.status: creating Makefile


Konfiguracja zako�zona pomylnie.

Wpisz 'make', aby skompilowa�GGBot'a.

[kocurkiewicz@localhost ggbot]$ make
gcc -I.. -I/usr/kerberos/include   -I/usr/include/readline -I/usr/include/python2.3 -o ggbot src/ggbot.c /usr/lib/libgadu.a   -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz   -ltermcap  -lreadline -L/usr/lib -L/usr/lib/python2.3/config -lpython2.3                        -lpthread -ldl  -lutil           -lm              -Xlinker -export-dynamic -g -O2 -pthread -L./lib/termcap
In file included from /usr/include/python2.3/Python.h:8,
                from src/python.h:43,
                from src/prototypes.h:61,
                from src/ggbot.c:81:
/usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                from src/ggbot.c:55:
/usr/include/features.h:190:1: warning: this is the location of the previous definition
/usr/bin/ld: cannot find -lcom_err
collect2: ld returned 1 exit status
make: *** [all] Błąd 1
[kocurkiewicz@localhost ggbot]$

 

 

 

Co zrobić? Co dograć?

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ę...