Comments (6)
Any update on this bug? Is there anything I can do about it? Is there something
I am doing wrong? Thank you!
Original comment by [email protected]
on 29 Dec 2011 at 12:54
from asterisk-chan-dongle.
I have the same problem with svn revision 24 and openwrt revision 29985.
I changed asterisk to 1.8.8.0.. but also the same error
make[4]: Entering directory
`/home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/ch
an_dongle-1.1.r10'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2
-fno-caller-saves -fhonour-copts -msoft-float -DLOW_MEMORY -D_XOPEN_SOURCE=600
-I/home/goran/development/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32
/usr/include
-I/home/goran/development/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32
/include
-I/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-li
naro_uClibc-0.9.32/usr/include
-I/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-li
naro_uClibc-0.9.32/include
-I/home/goran/development/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32
/usr/lib/libiconv-full/include
-I/home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/a
sterisk-1.8.8.0/include -DHAVE_CONFIG_H -I. -fPIC -o app.o -c app.c
In file included from
/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-lina
ro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/../../../../mips-openwr
t-linux-uclibc/sys-include/bits/types.h:31:0,
from /home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/../../../../mips-openwrt-linux-uclibc/sys-include/unistd.h:188,
from /home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.8.0/include/asterisk/compat.h:37,
from /home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.8.0/include/asterisk.h:27,
from app.c:17:
/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-lina
ro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/include/stddef.h:211:23
: error: duplicate 'unsigned'
/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-lina
ro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/include/stddef.h:211:23
: error: two or more data types in declaration specifiers
In file included from
/home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/ast
erisk-1.8.8.0/include/asterisk/compat.h:37:0,
from /home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.8.0/include/asterisk.h:27,
from app.c:17:
/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-lina
ro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/../../../../mips-openwr
t-linux-uclibc/sys-include/unistd.h:191:19: error: two or more data types in
declaration specifiers
make[4]: *** [app.o] Error 1
make[4]: Leaving directory
`/home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/ch
an_dongle-1.1.r10'
make[3]: ***
[/home/goran/development/openwrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/ch
an_dongle-1.1.r10/.built] Error 2
make[3]: Leaving directory
`/home/goran/development/openwrt/chan-dongle/asterisk18-chan-dongle'
make[2]: *** [package/asterisk18-chan-dongle/compile] Error 2
make[2]: Leaving directory `/home/goran/development/openwrt/trunk'
make[1]: ***
[/home/goran/development/openwrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/
stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/goran/development/openwrt/trunk'
make: *** [world] Error 2
Original comment by [email protected]
on 5 Feb 2012 at 3:42
from asterisk-chan-dongle.
[deleted comment]
from asterisk-chan-dongle.
Added ifndef in:
/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-lina
ro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/../../../../mips-openwr
t-linux-uclibc/sys-include/unistd.h
#ifndef __ssize_t_defined
#ifndef CHANDONGLE
typedef __ssize_t ssize_t;
# define __ssize_t_defined
#endif
#endif
/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-lina
ro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/include/stddef.h
#ifndef CHANDONGLE
typedef __SIZE_TYPE__ size_t;
#endif
/home/goran/development/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-lina
ro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.4/../../../../mips-openwr
t-linux-uclibc/sys-include/sys/types.h
#ifndef CHANDONGLE
#ifndef __ssize_t_defined
typedef __ssize_t ssize_t;
#endif
#endif
And added -DCHANDONGLE in package/asterisk18-chan-dongle/Makefile:
MAKE_ARGS:= \
CC="$(TARGET_CC)" \
LD="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS) -DLOW_MEMORY -DCHANDONGLE -D_XOPEN_SOURCE=600 $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/lib/libiconv-full/include -I$(BUILD_DIR)/$(WITH_ASTERISK)/include -DHAVE_CONFIG_H -I. -fPIC" \
LDFLAGS="$(TARGET_LDFLAGS) -L$(STAGING_DIR)/usr/lib/libiconv-full/lib -liconv" \
DESTDIR="$(PKG_INSTALL_DIR)/usr/lib/asterisk/modules"
Added ifndef CHANMOBILE
Original comment by [email protected]
on 5 Feb 2012 at 10:13
from asterisk-chan-dongle.
If someone correct those includes.. it would be better to correct there.. This
way up there was the fastest for me.
Original comment by [email protected]
on 6 Feb 2012 at 9:38
from asterisk-chan-dongle.
I'm using Ubuntu x64 and have the same problem. In my case config.log shows
"fatal error: bits/predefs.h: No such file or directory" while checking for
size_t, and "apt-get install libc6-dev-i386" solve the problem.
Original comment by [email protected]
on 3 Feb 2013 at 3:01
from asterisk-chan-dongle.
Related Issues (20)
- Configuring 4G Module HOT 47
- Huawei E367 is not detected by IMEI/IMSI, only by data/Audio port exactly specified !
- Cannot compile on aarch64-arc
- Problem while connecting my Huawei 3372-608 Dongle HOT 4
- New guide
- Disappeared from lsusb
- about future support of those 3G USB Dongle after carriers phasing out 3G
- Forward incoming SMS from each dongle to different email addresses
- Asterisk does not hear dtmf sounds HOT 2
- [dongle0] Request to call on device which can not make call at this moment
- busy trying connect to ttyusb
- It would be great to have the option to turn it into a proxy
- How can I change the email that I already configured so that the sms are sent for another?
- How can I add a unique id for each received sms, when it is saved in /var/log/asterisk/sms.txt
- How To Remove Subscriber Number HOT 1
- WiFi dongle
- SIM detected successfully, line busy HOT 3
- Dongle
- struct ast_channel: forward declaration / incomplete definition of type
- Loud noise on GSM to SIP Trunk
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asterisk-chan-dongle.