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

Re: Problem buildiing asterisk package



Tzafrir Cohen pisze:

Hi,

Since Digium released Asterisk 1.6.1.8 I can't build debian package  
(tried 1.6.2.0-rc7 and 1.6.1.11 as well).
While compiling straight on system everything is OK, but while I try to  
build package I get:
    
>From where? On which platform?
  
Source file: http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.6.1.11.tar.gz
Platform: i386
On same plattform I can build ie. 1.6.1.7 or lower.
  
/usr/bin/ld: chan_bridge.o: in function  
__register_file_version:chan_bridge.c:30: error: undefined reference to  
'ast_register_file_version'
/usr/bin/ld: chan_bridge.o: in function  
__unregister_file_version:chan_bridge.c:30: error: undefined reference  
to 'ast_unregister_file_version'
/usr/bin/ld: chan_bridge.o: in function bridge_read:chan_bridge.c:87:  
error: undefined reference to 'ast_null_frame'
/usr/bin/ld: chan_bridge.o: in function bridge_write:chan_bridge.c:110:  
error: undefined reference to 'ast_queue_frame'
/usr/bin/ld: chan_bridge.o: in function bridge_call:chan_bridge.c:130:  
error: undefined reference to 'ast_bridge_impart'
/usr/bin/ld: chan_bridge.o: in function  
bridge_queue_hangup:chan_bridge.c:150: error: undefined reference to  
'ast_queue_hangup'
/usr/bin/ld: chan_bridge.o: in function  
bridge_request:chan_bridge.c:198: error: undefined reference to  
'_ast_calloc'
/usr/bin/ld: chan_bridge.o: in function  
bridge_request:chan_bridge.c:203: error: undefined reference to  
'__ast_channel_alloc'
/usr/bin/ld: chan_bridge.o: in function  
bridge_request:chan_bridge.c:207: error: undefined reference to  
'__ast_channel_alloc'
/usr/bin/ld: chan_bridge.o: in function  
bridge_request:chan_bridge.c:208: error: undefined reference to  
'ast_channel_free'
/usr/bin/ld: chan_bridge.o: in function load_module:chan_bridge.c:232:  
error: undefined reference to 'ast_channel_register'
/usr/bin/ld: chan_bridge.o: in function load_module:chan_bridge.c:233:  
error: undefined reference to 'ast_log'
/usr/bin/ld: chan_bridge.o: in function unload_module:chan_bridge.c:242:  
error: undefined reference to 'ast_channel_unregister'
/usr/bin/ld: chan_bridge.o: in function __reg_module:chan_bridge.c:246:  
error: undefined reference to 'ast_module_register'
/usr/bin/ld: chan_bridge.o: in function  
__unreg_module:chan_bridge.c:246: error: undefined reference to  
'ast_module_unregister'
    
Could you also include the specific link command?
  
This is full log from package build:

dpkg-source: info: budowanie asterisk w asterisk_1.6.1.11-1.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
cp -f /usr/share/misc/config.sub config.sub
cp -f /usr/share/misc/config.guess config.guess
./configure --build i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info CFLAGS="-g -O2" LDFLAGS="-Wl,-z,defs"
checking build system type... i486-pc-linux-gnu
checking host system type... i486-pc-linux-gnu
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for AIX... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for uname... /bin/uname
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for gawk... no
checking for mawk... mawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for GNU make... make
checking for strip... /usr/bin/strip
checking for ar... /usr/bin/ar
checking for grep... (cached) /bin/grep
checking for find... /usr/bin/find
checking for compress... :
checking for basename... /usr/bin/basename
checking for id... /usr/bin/id
checking for dirname... /usr/bin/dirname
checking for sh... /bin/sh
checking for ln... /bin/ln
checking for dot... :
checking for wget... /usr/bin/wget
checking for rubber... :
checking for kpsewhich... :
checking for soxmix... no
checking for md5... no
checking for md5sum... md5sum
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 working alloca.h... yes
checking for alloca... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking sys/io.h usability... yes
checking sys/io.h presence... yes
checking for sys/io.h... yes
checking winsock.h usability... no
checking winsock.h presence... no
checking for winsock.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for struct stat.st_blksize... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking for ptrdiff_t... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether closedir returns void... no
checking for error_at_line... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for working strcoll... yes
checking for strftime... yes
checking for working strnlen... yes
checking for working strtod... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for vprintf... yes
checking for _doprnt... no
checking for asprintf... yes
checking for atexit... yes
checking for dup2... yes
checking for eaccess... yes
checking for endpwent... yes
checking for euidaccess... yes
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getloadavg... yes
checking for gettimeofday... yes
checking for glob... yes
checking for ioperm... yes
checking for inet_ntoa... yes
checking for isascii... yes
checking for localtime_r... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for munmap... yes
checking for putenv... yes
checking for re_comp... yes
checking for regcomp... yes
checking for select... yes
checking for setenv... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strncasecmp... yes
checking for strndup... yes
checking for strnlen... yes
checking for strrchr... yes
checking for strsep... yes
checking for strspn... yes
checking for strstr... yes
checking for strtod... (cached) yes
checking for strtol... yes
checking for strtold... yes
checking for strtoq... yes
checking for unsetenv... yes
checking for utime... yes
checking for vasprintf... yes
checking for sqrt in -lm... yes
checking for exp2l... yes
checking for log2l... yes
checking for exp10l... yes
checking for log10l... yes
checking for sinl... yes
checking for cosl... yes
checking for tanl... yes
checking for asinl... yes
checking for acosl... yes
checking for atanl... yes
checking for atan2l... yes
checking for powl... yes
checking for sqrtl... yes
checking for rintl... yes
checking for expl... yes
checking for logl... yes
checking for remainderl... yes
checking for fmodl... yes
checking for roundl... yes
checking for truncl... yes
checking for floorl... yes
checking for ceill... yes
checking for exp2... yes
checking for log2... yes
checking for exp10... yes
checking for log10... yes
checking for sin... yes
checking for cos... yes
checking for tan... yes
checking for asin... yes
checking for acos... yes
checking for atan... yes
checking for atan2... yes
checking for pow... yes
checking for rint... yes
checking for exp... yes
checking for log... yes
checking for remainder... yes
checking for fmod... yes
checking for round... yes
checking for trunc... yes
checking for floor... yes
checking for ceil... yes
checking for timersub in time.h... yes
checking for sys/poll.h... (cached) yes
checking for funopen... no
checking for fopencookie... yes
checking for inet_aton... yes
checking for IP_PKTINFO... yes
checking for library containing gethostbyname_r... none required
checking for gethostbyname_r with 6 arguments... yes
checking for gethostbyname_r with 5 arguments... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for __swap16 variant of <sys/endian.h> byteswapping macros... no
checking for bswap16 variant of <sys/endian.h> byteswapping macros... no
checking for /dev/urandom... yes
checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... yes
checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... yes
checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... yes
checking for pthread_rwlock_timedwrlock() in pthread.h... no
checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... yes
checking for compiler atomic operations... yes
checking for compiler 'attribute pure' support... yes
checking for compiler 'attribute malloc' support... yes
checking for compiler 'attribute const' support... yes
checking for compiler 'attribute unused' support... yes
checking for compiler 'attribute always_inline' support... yes
checking for compiler 'attribute deprecated' support... yes
checking for compiler 'attribute sentinel' support... yes
checking for compiler 'attribute warn_unused_result' support... yes
checking for compiler 'attribute weak' support... yes
checking for -ffunction-sections support... yes
checking for --gc-sections support... yes
checking for -Wdeclaration-after-statement support... yes
checking for _FORTIFY_SOURCE support... yes
checking for -fno-strict-overflow... yes
checking for -Wshadow... yes
checking for sysinfo... yes
checking for library containing res_9_ninit... no
checking for res_ninit... yes
checking for library containing res_9_ndestroy... no
checking for res_ndestroy... no
checking for GLOB_NOMAGIC in glob.h... yes
checking for GLOB_BRACE in glob.h... yes
checking for IP_MTU_DISCOVER in netinet/in.h... yes
checking libkern/OSAtomic.h usability... no
checking libkern/OSAtomic.h presence... no
checking for libkern/OSAtomic.h... no
checking for int... yes
checking size of int... 4
checking for snd_spcm_init in -lasound... no
checking for initscr in -lcurses... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for cap_from_text in -lcap... no
checking for DAHDI_CODE in dahdi/user.h... no
checking for getifaddrs() support... yes
checking for gsm_create in -lgsm... no
checking for iconv_open in -liconv... no
checking for iconv_close in -lc... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iks_start_sasl in -liksemel... no
checking for UW IMAP Toolkit c-client library... no
checking for system c-client library...... no
checking for jack_activate in -ljack... no
checking for lt_dlinit in -lltdl... no
checking for ldap_initialize in -lldap... no
checking for mISDN_open in -lmISDN... no
checking for nbs_connect in -lnbs... no
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for net-snmp-config... net-snmp-config
checking for newtBell in -lnewt... no
checking for SQLConnect in -lodbc... no
checking for ogg_sync_init in -logg... no
checking for backtrace in -lexecinfo... no
checking for backtrace in -lc... yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for pg_config... no
checking for poptStrerror in -lpopt... no
checking for Pa_GetDeviceCount in -lportaudio... no
checking for pri_new_bri in -lpri... no
checking for pri_set_inbanddisconnect in -lpri... no
checking for resample_open in -lresample... no
checking for minimum version of SpanDSP... no
checking for ss7_pollflags in -lss7... no
checking /root/pwlib/include/ptlib.h usability... no
checking /root/pwlib/include/ptlib.h presence... no
checking for /root/pwlib/include/ptlib.h... no
checking /usr/local/include/ptlib.h usability... no
checking /usr/local/include/ptlib.h presence... no
checking for /usr/local/include/ptlib.h... no
checking /usr/include/ptlib.h usability... no
checking /usr/include/ptlib.h presence... no
checking for /usr/include/ptlib.h... no
checking for luaL_newstate in -llua5.1... no
checking for luaL_register in -llua... no
checking for rc_read_config in -lradiusclient-ng... no
checking for saClmInitialize in -lSaClm... no
checking for speex_encode in -lspeex... no
checking for speex_preprocess_ctl in -lspeex... no
checking for speex_preprocess_ctl in -lspeexdsp... no
checking for sqlite_exec in -lsqlite... no
checking for sqlite3_open in -lsqlite3... no
checking for AES_encrypt in -lcrypto... no
checking for gmime-config... no
checking for malloc in -lhoard... no
checking for dbinit in -lsybdb... no
checking for tgetent in -ltermcap... yes
checking for tgetent in -ltinfo... no
checking for tone_zone_find_by_num in -ltonezone... no
checking for tone_zone_find in -ltonezone... no
checking for usb_init in -lusb... no
checking for vorbis_info_init in -lvorbis... no
checking for vpb_open in -lvpb... no
checking for compress in -lz... no
checking h323.h usability... no
checking h323.h presence... no
checking for h323.h... no
checking linux/compiler.h usability... no
checking linux/compiler.h presence... no
checking for linux/compiler.h... no
checking for linux/ixjuser.h... yes
checking for sdl-config... no
checking for IMG_Load in -lSDL_image... no
checking for sws_getContext in -lavcodec... no
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking for XOpenDisplay in -lX11... no
checking for XOpenDisplay in -lX11... (cached) no
checking for /sbin/launchd... no
checking for gtk-config... no
checking for pkg-config... no
checking for gawk... (cached) mawk
checking for curl-config... no
checking whether libcurl is usable... no
checking for mandatory modules: ... ok
configure: creating ./config.status
config.status: creating build_tools/menuselect-deps
config.status: creating makeopts
config.status: creating channels/h323/Makefile
config.status: creating include/asterisk/autoconfig.h

               .$$$$$$$$$$$$$$$=..
            .$7$7..          .7$$7:.
          .$$:.                 ,$7.7
        .$7.     7$$$$           .$$77
     ..$$.       $$$$$            .$$$7
    ..7$   .?.   $$$$$   .?.       7$$$.
   $.$.   .$$$7. $$$$7 .7$$$.      .$$$.
 .777.   .$$$$$$77$$$77$$$$$7.      $$$,
 $$$~      .7$$$$$$$$$$$$$7.       .$$$.
.$$7          .7$$$$$$$7:          ?$$$.
$$$          ?7$$$$$$$$$$I        .$$$7
$$$       .7$$$$$$$$$$$$$$$$      :$$$.
$$$       $$$$$$7$$$$$$$$$$$$    .$$$.
$$$        $$$   7$$$7  .$$$    .$$$.
$$$$             $$$$7         .$$$.
7$$$7            7$$$$        7$$$
 $$$$$                        $$$
  $$$$7.                       $$  (TM)
   $$$$$$$.           .7$$$$$$  $$
     $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
       $$$$$$$$$$$$$$$$.

configure: Package configured for:
configure: OS type  : linux-gnu
configure: Host CPU : i486
configure: build-cpu:vendor:os: i486 : pc : linux-gnu :
configure: host-cpu:vendor:os: i486 : pc : linux-gnu :
# Add here commands to compile the arch part of the package.
#/usr/bin/make
touch build-arch-stamp
# Add here commands to compile the indep part of the package.
#/usr/bin/make doc
touch build-indep-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k -s
dh_installdirs -s
# Add here commands to install the arch part of the package into
# debian/tmp.
/usr/bin/make prefix=/usr/src/asterisk-1.6.1.11/debian/asterisk/usr install
make[1]: Wejście do katalogu `/usr/src/asterisk-1.6.1.11'
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" /usr/bin/make -C menuselect CONFIGURE_SILENT="--silent" makeopts
make[2]: Wejście do katalogu `/usr/src/asterisk-1.6.1.11/menuselect'
make[2]: Opuszczenie katalogu `/usr/src/asterisk-1.6.1.11/menuselect'
CC="cc" CXX="g++" LD="" AR="" RANLIB="" CFLAGS="" /usr/bin/make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[2]: Wejście do katalogu `/usr/src/asterisk-1.6.1.11/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc -g -c -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect_stub.o menuselect_stub.c
make[3]: Wejście do katalogu `/usr/src/asterisk-1.6.1.11/menuselect/mxml'
gcc -O -Wall   -c mxml-attr.c
gcc -O -Wall   -c mxml-entity.c
gcc -O -Wall   -c mxml-file.c
gcc -O -Wall   -c mxml-index.c
gcc -O -Wall   -c mxml-node.c
gcc -O -Wall   -c mxml-search.c
gcc -O -Wall   -c mxml-set.c
gcc -O -Wall   -c mxml-private.c
gcc -O -Wall   -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[3]: Opuszczenie katalogu `/usr/src/asterisk-1.6.1.11/menuselect/mxml'
gcc -o menuselect menuselect.o strcompat.o menuselect_stub.o mxml/libmxml.a
make[2]: Opuszczenie katalogu `/usr/src/asterisk-1.6.1.11/menuselect'
Generating input for menuselect ...
menuselect/menuselect --check-deps menuselect.makeopts /etc/asterisk.makeopts
member 'res_timing_timerfd' in category 'MENUSELECT_RES' not found, ignoring.
member 'test_sched' in category 'MENUSELECT_TEST' not found, ignoring.
Unable to find 'res_timing_timerfd' in category 'MENUSELECT_RES'
Generating embedded module rules ...
   [CC] stereorize.c -> stereorize.o
   [CC] frame.c -> frame.o
   [LD] stereorize.o frame.o -> stereorize
   [CC] streamplayer.c -> streamplayer.o
   [LD] streamplayer.o -> streamplayer
   [CC] muted.c -> muted.o
   [LD] muted.o -> muted
   [CC] hashtest2.c -> hashtest2.o
   [CC] md5.c -> md5.o
   [CC] utils.c -> utils.o
   [CC] astobj2.c -> astobj2.o
   [CC] sha1.c -> sha1.o
   [CC] strcompat.c -> strcompat.o
   [CC] threadstorage.c -> threadstorage.o
   [CC] clicompat.c -> clicompat.o
   [CC] poll.c -> poll.o
   [LD] hashtest2.o md5.o utils.o astobj2.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o -> hashtest2
   [CC] hashtest.c -> hashtest.o
   [CC] hashtab.c -> hashtab.o
   [LD] hashtest.o md5.o hashtab.o utils.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o -> hashtest
   [CC] astcanary.c -> astcanary.o
   [LD] astcanary.o -> astcanary
   [CC] refcounter.c -> refcounter.o
   [LD] refcounter.o md5.o hashtab.o utils.o sha1.o strcompat.o threadstorage.o clicompat.o poll.o -> refcounter
   [CC] eagi-test.c -> eagi-test.o
   [CC] strcompat.c -> strcompat.o
   [LD] eagi-test.o strcompat.o -> eagi-test
   [CC] eagi-sphinx-test.c -> eagi-sphinx-test.o
   [LD] eagi-sphinx-test.o -> eagi-sphinx-test
   [CC] chan_local.c -> chan_local.o
   [LD] chan_local.o -> chan_local.so
/usr/bin/ld: chan_local.o: in function __register_file_version:chan_local.c:30: error: undefined reference to 'ast_register_file_version'
/usr/bin/ld: chan_local.o: in function __unregister_file_version:chan_local.c:30: error: undefined reference to 'ast_unregister_file_version'
/usr/bin/ld: chan_local.o: in function local_devicestate:chan_local.c:135: error: undefined reference to 'ast_log'
/usr/bin/ld: chan_local.o: in function local_devicestate:chan_local.c:145: error: undefined reference to 'option_debug'
/usr/bin/ld: chan_local.o: in function local_devicestate:chan_local.c:145: error: undefined reference to 'ast_options'
/usr/bin/ld: chan_local.o: in function local_devicestate:chan_local.c:145: error: undefined reference to 'ast_options'
/usr/bin/ld: chan_local.o: in function local_devicestate:chan_local.c:145: error: undefined reference to 'ast_debug_get_by_file'
/usr/bin/ld: chan_local.o: in function local_devicestate:chan_local.c:145: error: undefined reference to 'ast_log'
/usr/bin/ld: chan_local.o: in function local_devicestate:chan_local.c:147: error: undefined reference to 'ast_exists_extension'
/usr/bin/ld: chan_local.o: in function local_bridgedchannel:chan_local.c:181: error: undefined reference to 'option_debug'
/usr/bin/ld: chan_local.o: in function local_bridgedchannel:chan_local.c:181: error: undefined reference to 'ast_options'
/usr/bin/ld: chan_local.o: in function local_bridgedchannel:chan_local.c:181: error: undefined reference to 'ast_options'
/usr/bin/ld: chan_local.o: in function local_bridgedchannel:chan_local.c:181: error: undefined reference to 'ast_debug_get_by_file'
/usr/bin/ld: chan_local.o: in function local_bridgedchannel:chan_local.c:181: error: undefined reference to 'ast_log'
/usr/bin/ld: chan_local.o: in function local_queue_frame:chan_local.c:254: error: undefined reference to 'ast_queue_frame'
/usr/bin/ld: chan_local.o: in function local_answer:chan_local.c:279: error: undefined reference to 'ast_log'
/usr/bin/ld: chan_local.o: in function check_bridge:chan_local.c:288: error: undefined reference to 'ast_bridged_channel'
/usr/bin/ld: chan_local.o: in function check_bridge:chan_local.c:302: error: undefined reference to 'ast_check_hangup'
/usr/bin/ld: chan_local.o: in function check_bridge:chan_local.c:304: error: undefined reference to 'ast_check_hangup'
/usr/bin/ld: chan_local.o: in function check_bridge:chan_local.c:321: error: undefined reference to 'ast_app_group_update'
/usr/bin/ld: chan_local.o: in function check_bridge:chan_local.c:322: error: undefined reference to 'ast_channel_masquerade'
/usr/bin/ld: chan_local.o: in function local_read:chan_local.c:355: error: undefined reference to 'ast_null_frame'
/usr/bin/ld: chan_local.o: in function local_write:chan_local.c:375: error: undefined reference to 'option_debug'
/usr/bin/ld: chan_local.o: in function local_write:chan_local.c:375: error: undefined reference to 'ast_debug_get_by_file'
/usr/bin/ld: chan_local.o: in function local_indicate:chan_local.c:417: error: undefined reference to 'ast_moh_start'
/usr/bin/ld: chan_local.o: in function local_indicate:chan_local.c:419: error: undefined reference to 'ast_moh_stop'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:530: error: undefined reference to '_ast_strdup'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:531: error: undefined reference to '_ast_strdup'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:532: error: undefined reference to '_ast_strdup'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:533: error: undefined reference to '_ast_strdup'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:539: error: undefined reference to '__ast_string_field_empty'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:539: error: undefined reference to '__ast_string_field_ptr_grow'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:539: error: undefined reference to '__ast_string_field_alloc_space'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:540: error: undefined reference to '__ast_string_field_empty'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:540: error: undefined reference to '__ast_string_field_ptr_grow'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:540: error: undefined reference to '__ast_string_field_alloc_space'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:541: error: undefined reference to '__ast_string_field_empty'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:541: error: undefined reference to '__ast_string_field_ptr_grow'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:541: error: undefined reference to '__ast_string_field_alloc_space'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:542: error: undefined reference to 'ast_cdr_update'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:545: error: undefined reference to 'ast_exists_extension'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:556: error: undefined reference to '_ast_calloc'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:562: error: undefined reference to 'ast_channel_datastore_inherit'
/usr/bin/ld: chan_local.o: in function local_call:chan_local.c:565: error: undefined reference to 'ast_pbx_start'
/usr/bin/ld: chan_local.o: in function local_hangup:chan_local.c:590: error: undefined reference to 'pbx_builtin_getvar_helper'
/usr/bin/ld: chan_local.o: in function local_hangup:chan_local.c:605: error: undefined reference to 'pbx_builtin_setvar_helper'
/usr/bin/ld: chan_local.o: in function local_hangup:chan_local.c:611: error: undefined reference to '__ast_module_user_remove'
/usr/bin/ld: chan_local.o: in function local_hangup:chan_local.c:614: error: undefined reference to '__ast_module_user_remove'
/usr/bin/ld: chan_local.o: in function local_hangup:chan_local.c:619: error: undefined reference to 'ast_queue_hangup'
/usr/bin/ld: chan_local.o: in function local_hangup:chan_local.c:652: error: undefined reference to 'ast_hangup'
/usr/bin/ld: chan_local.o: in function local_alloc:chan_local.c:662: error: undefined reference to '_ast_calloc'
/usr/bin/ld: chan_local.o: in function local_alloc:chan_local.c:667: error: undefined reference to 'ast_copy_string'
/usr/bin/ld: chan_local.o: in function local_alloc:chan_local.c:696: error: undefined reference to 'ast_copy_string'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:724: error: undefined reference to 'ast_random'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:739: error: undefined reference to '__ast_channel_alloc'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:739: error: undefined reference to '__ast_channel_alloc'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:742: error: undefined reference to 'ast_channel_free'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:744: error: undefined reference to 'ast_channel_free'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:755: error: undefined reference to 'ast_best_codec'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:770: error: undefined reference to '__ast_module_user_add'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:771: error: undefined reference to '__ast_module_user_add'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:773: error: undefined reference to 'ast_copy_string'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:774: error: undefined reference to 'ast_copy_string'
/usr/bin/ld: chan_local.o: in function local_new:chan_local.c:779: error: undefined reference to 'ast_jb_configure'
/usr/bin/ld: chan_local.o: in function locals_show:chan_local.c:826: error: undefined reference to 'ast_cli'
/usr/bin/ld: chan_local.o: in function locals_show:chan_local.c:830: error: undefined reference to 'ast_cli'
/usr/bin/ld: chan_local.o: in function load_module:chan_local.c:844: error: undefined reference to 'ast_channel_register'
/usr/bin/ld: chan_local.o: in function load_module:chan_local.c:848: error: undefined reference to 'ast_cli_register_multiple'
/usr/bin/ld: chan_local.o: in function unload_module:chan_local.c:858: error: undefined reference to 'ast_cli_unregister_multiple'
/usr/bin/ld: chan_local.o: in function unload_module:chan_local.c:859: error: undefined reference to 'ast_channel_unregister'
/usr/bin/ld: chan_local.o: in function unload_module:chan_local.c:864: error: undefined reference to 'ast_softhangup'
/usr/bin/ld: chan_local.o: in function __reg_module:chan_local.c:874: error: undefined reference to 'ast_module_register'
/usr/bin/ld: chan_local.o: in function __unreg_module:chan_local.c:874: error: undefined reference to 'ast_module_unregister'
collect2: ld returned 1 exit status
make[2]: *** [chan_local.so] Błąd 1
make[1]: *** [channels] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/asterisk-1.6.1.11'
make: *** [install-arch] Błąd 2
dpkg-buildpackage: niepowodzenie: fakeroot debian/rules binary zwrócił status błędu 2
svn:/usr/src/asterisk-1.6.1.11#



Reply to: