logo       

RE: ekg-20030921 - warningi na cygwinie: msg#00021

network.ekg.user

Subject: RE: ekg-20030921 - warningi na cygwinie

Witam,

Chciałbym się przypomnieć - wciąż mam warningi przy komplacji ostatniej
wersji ekg-20031005, na końcu błąd i koniec.

configured options:
- static libgadu: enabled (default)
- shared libgadu: disabled
- openssl: enabled
- ioctld: disabled
- python: enabled
- zlib: enabled
- pthread: disabled
- libjpeg: enabled
- ui-readline: disabled
- ui-ncurses: enabled (default)

Przy konfiguracji w tych check'ach mam braki:

checking for t_accept in -lnsl... no
checking for socket in -lsocket... no
checking for __inet_addr in -lbind... no
checking for gethostbyname_r... no
checking libgen.h usability... no
checking libgen.h presence... no
checking for libgen.h... no
checking for dirname... no

Nieśmiało podejrzewam libgen.lib za źródło problemu.

z make'a mam to:

cd lib && /usr/bin/make all
make[1]: Entering directory `/tmp/ekg-20031005/lib'
gcc -MM -I. -I.. -Wall common.c libgadu.c pubdir.c http.c dcc.c events.c
pubdir50.c obsolete.c 1> .depend
gcc -I. -I.. -Wall -c -o common.o common.c
common.c: In function `gg_http_hash':
common.c:401: warning: int format, uin_t arg (arg 4)
gcc -I. -I.. -Wall -c -o libgadu.o libgadu.c
gcc -I. -I.. -Wall -c -o pubdir.o pubdir.c
pubdir.c: In function `gg_unregister3':
pubdir.c:145: warning: long int format, int arg (arg 2)
pubdir.c:160: warning: int format, uin_t arg (arg 2)
pubdir.c: In function `gg_change_passwd4':
pubdir.c:251: warning: int format, uin_t arg (arg 2)
pubdir.c: In function `gg_remind_passwd':
pubdir.c:318: warning: int format, uin_t arg (arg 2)
gcc -I. -I.. -Wall -c -o http.o http.c
gcc -I. -I.. -Wall -c -o dcc.o dcc.c
gcc -I. -I.. -Wall -c -o events.o events.c
events.c: In function `gg_watch_fd':
events.c:706: warning: unsigned int format, uin_t arg (arg 6)
gcc -I. -I.. -Wall -c -o pubdir50.o pubdir50.c
gcc -I. -I.. -Wall -c -o obsolete.o obsolete.c
ar r libgadu.a common.o libgadu.o pubdir.o http.o dcc.o events.o pubdir50.o
obsolete.o
ranlib libgadu.a
make[1]: Leaving directory `/tmp/ekg-20031005/lib'
cd src && /usr/bin/make all
make[1]: Entering directory `/tmp/ekg-20031005/src'
gcc -MM -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" stuff.c
commands.c events.c themes.c vars.c dynstuff.c userlist.c ekg.c xmalloc.c
mail.c msgqueue.c emoticons.c configfile.c simlite.c ../compat/dirname.c
ui-ncurses.c python.c ui-batch.c ui-none.c log.c 1> .depend
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
stuff.o stuff.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
commands.o commands.c
commands.c: In function `cmd_key':
commands.c:3123: warning: int format, uin_t arg (arg 3)
commands.c: In function `cmd_conference':
commands.c:4901: warning: int format, long unsigned int arg (arg 2)
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
events.o events.c
In file included from /usr/include/python2.3/Python.h:8,
from python.h:23,
from events.c:47:
/usr/include/python2.3/pyconfig.h:332:1: warning: "HAVE_PROTOTYPES"
redefined
In file included from /usr/include/jpeglib.h:28,
from events.c:37:
/usr/include/jconfig.h:5:1: warning: this is the location of the previous
definition
In file included from /usr/include/python2.3/Python.h:8,
from python.h:23,
from events.c:47:
/usr/include/python2.3/pyconfig.h:444:1: warning: "HAVE_STDDEF_H" redefined
In file included from /usr/include/jpeglib.h:28,
from events.c:37:
/usr/include/jconfig.h:11:1: warning: this is the location of the previous
definition
events.c: In function `handle_msg':
events.c:455: warning: int format, uin_t arg (arg 2)
events.c:560: warning: int format, uin_t arg (arg 3)
events.c:604: warning: unsigned int format, uin_t arg (arg 5)
events.c:606: warning: unsigned int format, uin_t arg (arg 4)
events.c:647: warning: int format, uin_t arg (arg 2)
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
themes.o themes.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
vars.o vars.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
dynstuff.o dynstuff.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
userlist.o userlist.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
ekg.o ekg.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
xmalloc.o xmalloc.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
mail.o mail.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
msgqueue.o msgqueue.c
msgqueue.c: In function `msg_queue_write':
msgqueue.c:296: warning: int format, long unsigned int arg (arg 3)
msgqueue.c: In function `msg_queue_read':
msgqueue.c:371: warning: int format, uin_t arg (arg 3)
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
emoticons.o emoticons.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
configfile.o configfile.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
simlite.o simlite.c
simlite.c: In function `sim_key_generate':
simlite.c:94: warning: int format, uint32_t arg (arg 5)
simlite.c: In function `sim_key_read':
simlite.c:152: warning: int format, uint32_t arg (arg 5)
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
../compat/dirname.o ../compat/dirname.c
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
ui-ncurses.o ui-ncurses.c
ui-ncurses.c: In function `ui_ncurses_event':
ui-ncurses.c:4093: warning: int format, uin_t arg (arg 2)
ui-ncurses.c:4113: warning: initialization from incompatible pointer type
gcc -I.. -I../lib -g -O2 -I/usr/include/python2.3 -Wall
-DDATADIR=\"/usr/local/share/ekg\" -DSYSCONFDIR=\"/usr/local/etc\" -c -o
python.o python.c
python.c:210: error: initializer element is not constant
python.c:210: error: (near initialization for `ekg_config_type.ob_type')
make[1]: *** [python.o] Blad 1
make[1]: Leaving directory `/tmp/ekg-20031005/src'
make: *** [ekg] Blad 2

POMOCY!...

Pozdrawiam

--
tiroy




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise