Modify

Opened 7 years ago

Closed 6 years ago

Last modified 4 years ago

#9208 closed defect (invalid)

r26573 chan_datacard for asterisk-18 compile failed

Reported by: dexter@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description (last modified by hauke)

I don't think this is asterisk's fault since asterisk seems to get compiled .. Maybe my makefile is broken ? Here's the error though:

make[3]: Entering directory `/home/dexter/OpenWrt/trunk/package/chan_datacard'
mkdir -p /home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-1.0.r315/ipkg-install/usr/lib/asterisk/modules
make -C "/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-1.0.r315" CC="mips-openwrt-linux-uclibc-gcc" LD="mips-openwrt-linux-uclibc-gcc" CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -DLOW_MEMORY -I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/include -I/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/include -I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib/libiconv-full/include -I/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include -DHAVE_CONFIG_H -I. -fpic" LDFLAGS="-L/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/lib -L/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib" DESTDIR="/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-1.0.r315/ipkg-install/usr/lib/asterisk/modules" all install
make[4]: Entering directory `/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-1.0.r315'
mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -DLOW_MEMORY -I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/usr/include -I/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/include -I/home/dexter/OpenWrt/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib/libiconv-full/include -I/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include -DHAVE_CONFIG_H -I. -fpic  -o app.o -c app.c
In file included from /home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk.h:21:0,
                 from app.c:17:
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/autoconfig.h:1096:0: warning: "PACKAGE_BUGREPORT" redefined
./config.h:98:0: note: this is the location of the previous definition
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/autoconfig.h:1099:0: warning: "PACKAGE_NAME" redefined
./config.h:101:0: note: this is the location of the previous definition
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/autoconfig.h:1102:0: warning: "PACKAGE_STRING" redefined
./config.h:107:0: note: this is the location of the previous definition
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/autoconfig.h:1105:0: warning: "PACKAGE_TARNAME" redefined
./config.h:110:0: note: this is the location of the previous definition
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/autoconfig.h:1108:0: warning: "PACKAGE_URL" redefined
./config.h:113:0: note: this is the location of the previous definition
/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/autoconfig.h:1111:0: warning: "PACKAGE_VERSION" redefined
./config.h:116:0: note: this is the location of the previous definition
In file included from /home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/../../../../mips-openwrt-linux-uclibc/sys-include/bits/types.h:31:0,
                 from /home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/../../../../mips-openwrt-linux-uclibc/sys-include/unistd.h:186,
                 from /home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/compat.h:37,
                 from /home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk.h:27,
                 from app.c:17:
/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/include/stddef.h:211:23: error: duplicate 'unsigned'
/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/include/stddef.h:211:23: error: two or more data types in declaration specifiers
In file included from /home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk/compat.h:37:0,
                 from /home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/asterisk-1.8.3.2/include/asterisk.h:27,
                 from app.c:17:
/home/dexter/OpenWrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/../../../../mips-openwrt-linux-uclibc/sys-include/unistd.h:189:19: error: two or more data types in declaration specifiers
make[4]: *** [app.o] Error 1
make[4]: Leaving directory `/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-1.0.r315'
make[3]: *** [/home/dexter/OpenWrt/trunk/build_dir/target-mips_r2_uClibc-0.9.32/chan_datacard-1.0.r315/.built] Error 2
make[3]: Leaving directory `/home/dexter/OpenWrt/trunk/package/chan_datacard'

Attachments (2)

Makefile (2.0 KB) - added by dexter@… 7 years ago.
chan_datacard Makefile
001-automake-compat.patch (189 bytes) - added by dexter@… 7 years ago.
Patch

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by dexter@…

chan_datacard Makefile

Changed 7 years ago by dexter@…

Patch

comment:1 Changed 7 years ago by dexter@…

Someone recommended that I pastebin the error somewhere since it's not exactly readable here so here it is: http://pastebin.com/720v6NYT

comment:2 Changed 7 years ago by hauke

  • Description modified (diff)

comment:3 Changed 7 years ago by dexter@…

Solved by: http://pastebin.com/raw.php?i=nkiJVnYh with alot of help from jow_laptop from #openwrt on freenode.

comment:4 Changed 6 years ago by zandbelt

  • Resolution set to invalid
  • Status changed from new to closed

chan_datacard is not part of the packages tree

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.