readline 4.2 - prośba o pomoc
Tomasz Kłoczko
kloczek w rudy.mif.pg.gda.pl
Pią, 13 Kwi 2001, 09:35:15 CEST
Sporą część rzeczy zaleznych od readline udało mi się przebudować ale
kilka rzeczy się nie buduje. Min. gdb, bc, python, calc, git, cdecl (tu
mam już pomysł jak to poprawić), lftp (tu mam dwa patche które zaraz
wrzucę ale i tak dalej się wykrzacza kompilacja jeszcze w jednym miejscu).
Python jest tu akurat chyab najwazniejszy w tej chwili.
Jeżeli możnaby to prosiłbym o priorytetowe potraktowanie uporządkowania
spraw zwiazanych z nowym readline.
Na razie nadal radziłbym się wstrzymać z dist-upgrade apta (co najwyżej -d
i potem z ręcznym wybiurczym aktualizowaniem pakietów z cache).
Głupio wyszło znowu z niepotrzebnym wrzuceniem biblioteki bez
przebudowanych pakietów ale zanim się zorientowałem to już sporo czasu
minęło całość się rozeszła :>
Wyjatki z kompilacji z kawałkami z błędami:
python:
gcc -shared bsddbmodule.o -ldb3 -o bsddbmodule.so
gcc -fPIC -O2 -march=i686 -D_REENTRANT -I./../Include
-I.. -DHAVE_CONFIG_H -c ./readline.c
./readline.c:31: conflicting types for `rl_read_init_file'
/usr/include/readline/readline.h:303: previous declaration of `rl_read_init_file'
./readline.c:32: conflicting types for `rl_insert_text'
/usr/include/readline/readline.h:363: previous declaration of `rl_insert_text'
./readline.c: In function `set_completer_delims':
./readline.c:227: warning: passing arg 1 of `free' discards qualifiers
from pointer target type
./readline.c: In function `flex_complete':
./readline.c:399: warning: return makes pointer from integer without a cast
make[1]: *** [readline.o] Error 1
calc:
gcc -O2 -march=i586 -c -o file.o file.c
file.c: In function `z2filepos':
file.c:1242: incompatible types in assignment
file.c:1254: incompatible types in assignment
make: *** [file.o] Error 1
git:
Making all in src
make[2]: Entering directory `/home/users/builder/rpm/BUILD/git-4.3.20/src'
Makefile:310: *** missing separator. Stop.
make[2]: Leaving directory `/home/users/builder/rpm/BUILD/git-4.3.20/src'
make[1]: *** [all-recursive] Error 1
bc:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./../h -O2 -march=i686 -Wall
-funsigned-char -c scan.c
scan.l:146: conflicting types for `readline'
/usr/include/readline/readline.h:263: previous declaration of `readline'
lex.yy.c:1706: warning: `yyunput' defined but not used
make[2]: *** [scan.o] Error 1
gdb:
gcc -c -O2 -march=i686 -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I/usr/include/readline
-I../bfd -I./../bfd -I./../mmalloc -I./../include -I../intl -I./../intl
-I./tui -DUI_OUT=1
-DUSE_INCLUDED_REGEX event-top.c
In file included from /usr/include/readline/readline.h:37,
from event-top.c:36:
/usr/include/readline/tilde.h:80: conflicting types for `tilde_expand'
defs.h:606: previous declaration of `tilde_expand'
make[1]: *** [event-top.o] Error 1
lftp:
In file included from /usr/include/readline/keymaps.h:37,
from /usr/include/readline/readline.h:36,
from complete.cc:42:
/usr/include/readline/rltypedefs.h:48: invalid exception specifications
/usr/include/readline/rltypedefs.h:51: invalid exception specifications
/usr/include/readline/rltypedefs.h:52: invalid exception specifications
/usr/include/readline/rltypedefs.h:54: invalid exception specifications
/usr/include/readline/rltypedefs.h:55: invalid exception specifications
/usr/include/readline/rltypedefs.h:57: invalid exception specifications
/usr/include/readline/rltypedefs.h:59: invalid exception specifications
/usr/include/readline/rltypedefs.h:62: invalid exception specifications
/usr/include/readline/rltypedefs.h:65: invalid exception specifications
/usr/include/readline/rltypedefs.h:70: invalid exception specifications
/usr/include/readline/rltypedefs.h:73: invalid exception specifications
/usr/include/readline/rltypedefs.h:75: invalid exception specifications
/usr/include/readline/rltypedefs.h:76: invalid exception specifications
/usr/include/readline/rltypedefs.h:78: invalid exception specifications
/usr/include/readline/rltypedefs.h:79: invalid exception specifications
/usr/include/readline/rltypedefs.h:80: invalid exception specifications
/usr/include/readline/rltypedefs.h:81: invalid exception specifications
In file included from /usr/include/readline/readline.h:37,
from complete.cc:42:
/usr/include/readline/tilde.h:55: invalid exception specifications
complete.cc: In function `char ** lftp_completion(char *, int, int)':
complete.cc:578: implicit declaration of function `int
completion_matches(...)'
complete.cc:578: initialization to `char **' from `int' lacks a cast
complete.cc: In function `int lftp_complete_remote(int, int)':
complete.cc:955: type mismatch with previous external decl
/usr/include/readline/readline.h:487: previous external decl of `int (*
rl_last_func)(int, int)'
make[1]: *** [complete.o] Błąd 1
kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek w rudy.mif.pg.gda.pl*
Więcej informacji o liście dyskusyjnej pld-devel-pl