[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Asterisk kaynak koddan derleme sorunu



Hata Makefile tarafından main/editline dizini altındaki configure betiğini çalıştırdıktan sonraki işlemlerde alınıyor.

cd editline && test -f config.h || CFLAGS="-pthread -I/home/engin/src/asterisk-1.4.15 /include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /home/engin/src/asterisk-1.4.15/include/asterisk/autoconfig.h -march=i686 -O6" LDFLAGS="" ./configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --with-ncurses= --with-curses= --with-termcap= --with-tinfo=
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -pthread -I/home/engin/src/asterisk-1.4.15/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /home/engin/src/asterisk- 1.4.15/include/asterisk/autoconfig.h -march=i686 -O6 ) works... yes
checking whether the C compiler (gcc -pthread -I/home/engin/src/asterisk-1.4.15/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /home/engin/src/asterisk- 1.4.15/include/asterisk/autoconfig.h -march=i686 -O6 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for tgetent in -ltermcap... yes
checking for termcap.h... yes
checking for sys/cdefs.h... yes
checking for vis.h... no
checking for issetugid... no
checking for strlcat... no
checking for strlcpy... no
checking for fgetln... no
checking for strvis... no
checking for strunvis... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
make -C editline libedit.a
/bin/sh makelist -h common.c > common.h
/bin/sh makelist -h emacs.c> emacs.h
/bin/sh makelist -h vi.c > vi.h
/bin/sh makelist -fh common.h emacs.h vi.h > fcns.h
/bin/sh makelist -fc common.h emacs.h vi.h > fcns.c
if uname -s | grep -qi cygwin; then cat fcns.c | sed -e s/"sys\.h"/"config.h"/g > fcns.c.copy; mv --force fcns.c.copy fcns.c; fi
/bin/sh makelist -bh common.c emacs.c vi.c > help.h
/bin/sh makelist -bc common.c emacs.c vi.c > help.c
if uname -s | grep -qi cygwin; then cat help.c | sed -e s/"sys\.h"/"config.h"/g > help.c.copy; mv --force help.c.copy help.c; fi
/bin/sh makelist -e common.c emacs.c vi.c chared.c el.c hist.c key.c map.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c fcns.c help.c > editline.c
gcc -c  -pthread -I/home/engin/src/asterisk-1.4.15/include -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /home/engin/src/asterisk- 1.4.15/include/asterisk/autoconfig.h -march=i686 -O6 '-D__RCSID(x)=' '-D__COPYRIGHT(x)=' '-D__RENAME(x)=' '-D_DIAGASSERT(x)=' -I. editline.c -o editline.o_a

Bu aşamadan sonra aşağıdaki hatalar gelmeye başlıyor.

common.c: In function 'ed_digit':
common.c:405: error: 'EM_UNIVERSAL_ARGUMENT' undeclared (first use in this function)
common.c:405: error: (Each undeclared identifier is reported only once
common.c:405: error: for each function it appears in.)
In file included from editline.c:5:
emacs.c: In function 'em_inc_search_next':
emacs.c:474: error: 'ED_SEARCH_NEXT_HISTORY' undeclared (first use in this function)
emacs.c: In function 'em_inc_search_prev':
emacs.c:487: error: 'ED_SEARCH_PREV_HISTORY' undeclared (first use in this function)
In file included from editline.c:6:
vi.c: In function 'vi_search_prev':
vi.c:779: error: 'ED_SEARCH_PREV_HISTORY' undeclared (first use in this function)
vi.c: In function 'vi_search_next':
vi.c:792: error: 'ED_SEARCH_NEXT_HISTORY' undeclared (first use in this function)
vi.c: In function 'vi_repeat_search_prev':
vi.c:825: error: 'ED_SEARCH_PREV_HISTORY' undeclared (first use in this function)
vi.c:826: error: 'ED_SEARCH_NEXT_HISTORY' undeclared (first use in this function)
In file included from editline.c:7:
chared.c: In function 'ch_init':
chared.c:442: error: 'ED_UNASSIGNED' undeclared (first use in this function)
chared.c: In function 'ch_reset':
chared.c:479: error: 'ED_UNASSIGNED' undeclared (first use in this function)
In file included from editline.c:8:
el.c: In function 'el_get':
el.c:284: warning: dereferencing type-punned pointer will break strict-aliasing rules
el.c:288: warning: dereferencing type-punned pointer will break strict-aliasing rules
In file included from editline.c:10:
key.c: In function 'key_add':
key.c:202: error: 'ED_SEQUENCE_LEAD_IN' undeclared (first use in this function)
key.c: In function 'key_clear':
key.c:225: error: 'ED_SEQUENCE_LEAD_IN' undeclared (first use in this function)
key.c: In function 'node_trav':
key.c:289: error: 'ED_END_OF_FILE' undeclared (first use in this function)
In file included from editline.c:11:
map.c: At top level:
map.c:69: error: 'ED_TTY_SIGINT' undeclared here (not in a function)
map.c:70: error: 'EM_DELETE_OR_LIST' undeclared here (not in a function)
map.c :73: error: 'ED_UNASSIGNED' undeclared here (not in a function)
map.c:76: error: 'ED_NEWLINE' undeclared here (not in a function)
map.c:77: error: 'ED_KILL_LINE' undeclared here (not in a function)
map.c:80: error: 'ED_NEXT_HISTORY' undeclared here (not in a function)
map.c:82: error: 'ED_PREV_HISTORY' undeclared here (not in a function)
...

Şimdiden teşekkürler.

08.12.2007 tarihinde Afsin Taskiran <afsin@enderunix.org> yazmış:
Engin KUZU yazmış:

Selamlar;

> Astersik'in 1.4.15 sürümünü derlemeye çalışıyorum. Derleme öncesi
> asterisk için build-dep (Build dependency) indirdim. Aşağıdaki gibi
> bir hata alıyorum. İnternette araştırmalarım sonucunda henüz bir
> çözüme kavuşamadım.
>
> ...
> (Sayfalarca hata...)
Hatanin ilk olustugu satirlari gorebilir miyiz ? Genellikle kod
derlemelerinde sonraki hatalar, ilklere bagli olur.


iyi calismalar


Afsin Taskiran


Reply to: