thomas schorpp schrieb:
> Tzafrir Cohen schrieb:
>> On Sun, Oct 19, 2008 at 04:22:25PM +0200, thomas schorpp wrote:
>>> Retrospektiva broken, filing here.
>>>
>>> {{{
>>>  gcc -DHAVE_CONFIG_H -include ../include/confdefs.h -I. -I../include 
>>> -I../include -I/usr/include/speex -Wall -g -O2 -D_LARGEFILE_SOURCE 
>>> -D_FILE_OFFSET_BITS=64 -MT codec_speex_la-codec_speex.lo -MD -MP -MF 
>>> .deps/codec_speex_la-codec_speex.Tpo -c codec_speex.c  -fPIC -DPIC -o 
>>> .libs/codec_speex_la-codec_speex.o
>>> codec_speex.c:43:36: error: speex/speex_preprocess.h: Datei oder 
>>> Verzeichnis nicht gefunden
>>
>> What does this error mean?
>>
>> On my system /usr/include/speex/speex_preprocess.h belong in the package
>> libspeexdsp-dev
>>
>>> codec_speex.c:359: error: expected specifier-qualifier-list before 
>>> ‘SpeexPreprocessState’
>>> codec_speex.c: In function ‘lintospeex_new’:
>>> codec_speex.c:393: error: ‘struct cw_translator_pvt’ has no member 
>>> named ‘pp’
>>
>> All of those seem to come from the missing header.
>>
> 
> hm. sorry, missed. I cant read german localized gcc, too :D
> reported to debian BTS, thx.
> 
> configure seems to be badly broken with defaults, next is:
> 
> (cd .libs && rm -f chan_woomera.la && ln -s ../chan_woomera.la 
> chan_woomera.la)
> /bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
> -include ../include/confdefs.h -I. -I../include -I../corelib 
> -I../include     -Wall -g -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -MT chan_zap_la-chan_zap.lo -MD -MP -MF .deps/chan_zap_la-chan_zap.Tpo 
> -c -o chan_zap_la-chan_zap.lo `test -f 'chan_zap.c' || echo './'`chan_zap.c
> gcc -DHAVE_CONFIG_H -include ../include/confdefs.h -I. -I../include 
> -I../corelib -I../include -Wall -g -O2 -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -MT chan_zap_la-chan_zap.lo -MD -MP -MF 
> .deps/chan_zap_la-chan_zap.Tpo -c chan_zap.c  -fPIC -DPIC -o 
> .libs/chan_zap_la-chan_zap.o
> chan_zap.c: In function ‘ss_thread’:
> chan_zap.c:5911: error: invalid application of ‘sizeof’ to incomplete 
> type ‘adsi_rx_state_t’ chan_zap.c:5913: error: invalid application of 
> ‘sizeof’ to incomplete type ‘adsi_rx_state_t’ chan_zap.c: In function 
> ‘do_monitor’:
> chan_zap.c:6340: error: invalid application of ‘sizeof’ to incomplete 
> type ‘adsi_rx_state_t’ chan_zap.c:6342: error: dereferencing pointer to 
> incomplete type
> chan_zap.c:6344: error: invalid application of ‘sizeof’ to incomplete 
> type ‘adsi_rx_state_t’ chan_zap.c:6476: error: dereferencing pointer to 
> incomplete type
> chan_zap.c:6477: error: dereferencing pointer to incomplete type
> chan_zap.c: In function ‘action_zapshowchannels’:
> chan_zap.c:9817: warning: too few arguments for format
> 
> BTW, do not use position independend code (-fPIC) for 32bit-platforms?
> 
> y
> tom
> 
> 
> 
> 

build, debian patchset (for non-zaptel users):

[EMAIL PROTECTED]:/usr/local/src/callweaver$ svn diff
Index: debian/control
===================================================================
--- debian/control      (Revision 5209)
+++ debian/control      (Arbeitskopie)
@@ -43,15 +43,3 @@
  This package contains the source documentation needed if you wish to
  extend the callweaver package.
 
-Package: callweaver-zaptel
-Depends: callweaver
-Section: comm
-Architecture: all
-Description: zaptel module for CallWeaver
- CallWeaver is an Open Source PBX and telephony toolkit
- .
- This Package contains the CallWeaver zaptel Module, which is needed to
- let CallWeaver talk to zaptel kernelmodules.
- You will also need kernel support, which can be achieved by running
- module-assistant install zaptel
-
Index: debian/changelog
===================================================================
--- debian/changelog    (Revision 5209)
+++ debian/changelog    (Arbeitskopie)
@@ -1,5 +1,5 @@
 callweaver (1.2.0-1) unstable; urgency=low
 
-  * SVN checkout build for callweaver RC branch
+  * SVN checkout build for callweaver rel branch
   
  -- Massimo Cetra <[EMAIL PROTECTED]>  Sun,  6 May 2007 16:28:16 +0100
Index: debian/rules
===================================================================
--- debian/rules        (Revision 5209)
+++ debian/rules        (Arbeitskopie)
@@ -71,22 +71,10 @@
                                --datarootdir=\$${prefix}/share \
                                --localstatedir=/var \
                                --sysconfdir=/etc \
-                               \
-                               --with-pbx_ael=yes \
-                               --with-app_sql_postgres=yes 
--enable-postgresql=yes \
-                               --with-res_config_pgsql --with-res_sqlite=yes \
-                               --with-cdr_pgsql=yes --with-app_meetme=no 
--with-chan-capi=yes \
-                               --enable-iax-trunking=yes 
--with-res_config_curl=yes \
-                               --enable-t38=yes --with-chan-fax=yes \
-                               --with-res_jabber=yes --enable-odbc=yes 
--with-cdr_odbc=yes \
-                               --with-res_config_odbc=yes --with-res_odbc=yes \
-                               --with-chan_bluetooth=yes \
-                               --enable-mysql=yes --with-app_sql_mysql=yes 
--with-cdr_mysql=yes \
-                               --with-res_config_mysql=yes  
--with-chan_zap=yes \
-                               --enable-zaptel \
-                               --with-app_icd=no \
-                                --with-chan_unicall=no \
-                               --with-chan_misdn=no
+                               --enable-rtp-payload-2=yes \
+                               --with-chan_woomera=no \
+                               --with-chan_zap=no \
+                               --disable-zaptel
 
 build: build-stamp
 
[EMAIL PROTECTED]:/usr/local/src/callweaver$ 


.........

deb build fails, configure does no more respect --prefix=/usr :


dh_install -a --sourcedir=debian/tmp
cp: Aufruf von stat für „debian/tmp//usr/sbin“ nicht möglich: Datei oder 
Verzeichnis nicht gefunden
dh_install: command returned error code 256
make: *** [binary-arch] Fehler 1
dpkg-buildpackage: Fehlschlag: fakeroot debian/rules binary gab 
Fehler-Exitstatus 2
[EMAIL PROTECTED]:/usr/local/src/callweaver$ 
[EMAIL PROTECTED]:/usr/local/src/callweaver$ ls debian/tmp/*
debian/tmp/etc:
callweaver

debian/tmp/lib:
callweaver

debian/tmp/sbin:
callweaver  callweaver_cli  safe_callweaver  smsq  streamplayer

debian/tmp/share:
callweaver

debian/tmp/usr:
bin  include

debian/tmp/var:
lib  log  run  spool
[EMAIL PROTECTED]:/usr/local/src/callweaver$ 

y
tom


_______________________________________________
Callweaver-dev mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-dev

Reply via email to