Re: [OpenWrt-Devel] ruby - error: 'EC_GROUP_new_curve_GF2m' undeclared (first use in this function)
Thanks a lot. On 07/29/2013 11:27 AM, Yousong Zhou wrote: Hi, Remzi, On 29 July 2013 09:10, Remzi AKYÜZ linuxli...@gmail.com wrote: Hi, I cannot build ruby at trunk (37568) and i got this; i486-openwrt-linux-uclibc-gcc -I. -I../../.ext/include/i486-linux -I../.././include -I../.././ext/openssl -DRUBY_EXTCONF_H=\extconf.h\ -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/include -I/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include -D_FILE_OFFSET_BITS=64 -fPIC -O2 -pipe -march=i686 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include -fPIC -o ossl_pkey_ec.o -c ossl_pkey_ec.c ossl_pkey_ec.c: In function 'ossl_ec_group_initialize': ossl_pkey_ec.c:761:24: warning: assignment makes pointer from integer without a cast [enabled by default] ossl_pkey_ec.c:815:29: error: 'EC_GROUP_new_curve_GF2m' undeclared (first use in this function) I guess you need to enable GF2m support for libopenssl build. │ Location: │ - Libraries │ - SSL │ - libopenssl... Open source SSL toolkit (libraries) (PACKAGE_libopenssl [=m]) │ - Configuration │ - Enable elliptic curve support (OPENSSL_WITH_EC [=y]) Then, Enable ec2m support. ossl_pkey_ec.c:815:29: note: each undeclared identifier is reported only once for each function it appears in make[5]: *** [ossl_pkey_ec.o] Error 1 make[5]: Leaving directory `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/ruby-1.9.2-p0/ext/openssl' make[4]: *** [mkmain.sh] Error 1 make[4]: Leaving directory `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/ruby-1.9.2-p0' make[3]: *** [/openwrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/ruby-1.9.2-p0/.built] Error 2 make[3]: Leaving directory `/openwrt/trunk/feeds/packages/lang/ruby' Thanks. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] ruby - error: 'EC_GROUP_new_curve_GF2m' undeclared (first use in this function)
Hello Remzi, I posted a patch to update ruby to its last 1.9.x version. http://patchwork.openwrt.org/patch/3754/ However, it was not commited. The version of ruby you are using have problems with socket. --- Luiz Angelo Daros de Luca, Me. luizl...@gmail.com 2013/7/29 Remzi AKYÜZ linuxli...@gmail.com Thanks a lot. On 07/29/2013 11:27 AM, Yousong Zhou wrote: Hi, Remzi, On 29 July 2013 09:10, Remzi AKYÜZ linuxli...@gmail.com wrote: Hi, I cannot build ruby at trunk (37568) and i got this; i486-openwrt-linux-uclibc-gcc -I. -I../../.ext/include/i486-linux -I../.././include -I../.././ext/openssl -DRUBY_EXTCONF_H=\extconf.h\ -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/include -I/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include -D_FILE_OFFSET_BITS=64 -fPIC -O2 -pipe -march=i686 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libiconv-stub/include -I/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/lib/libintl-stub/include -fPIC -o ossl_pkey_ec.o -c ossl_pkey_ec.c ossl_pkey_ec.c: In function 'ossl_ec_group_initialize': ossl_pkey_ec.c:761:24: warning: assignment makes pointer from integer without a cast [enabled by default] ossl_pkey_ec.c:815:29: error: 'EC_GROUP_new_curve_GF2m' undeclared (first use in this function) I guess you need to enable GF2m support for libopenssl build. │ Location: │ - Libraries │ - SSL │ - libopenssl... Open source SSL toolkit (libraries) (PACKAGE_libopenssl [=m]) │ - Configuration │ - Enable elliptic curve support (OPENSSL_WITH_EC [=y]) Then, Enable ec2m support. ossl_pkey_ec.c:815:29: note: each undeclared identifier is reported only once for each function it appears in make[5]: *** [ossl_pkey_ec.o] Error 1 make[5]: Leaving directory `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/ruby-1.9.2-p0/ext/openssl' make[4]: *** [mkmain.sh] Error 1 make[4]: Leaving directory `/openwrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/ruby-1.9.2-p0' make[3]: *** [/openwrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/ruby-1.9.2-p0/.built] Error 2 make[3]: Leaving directory `/openwrt/trunk/feeds/packages/lang/ruby' Thanks. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [packages] AllJoyn: New package (updated)
On Fri, 2013-07-26 at 12:27 +0200, Felix Fietkau wrote: On 2013-07-23 11:00 PM, Steve Kinneberg wrote: from: AllJoyn Project (Qualcomm Innovation Center, Inc.) maintain...@alljoyn.org Add AllJoyn v. 3.3.2 as a new package to OpenWrt. AllJoyn is a peer-to-peer networking technology. Project details can be found at http://www.alljoyn.org. The package does not build here (it seems to be using the native ar/ranlib tools instead of the cross-tools). Build log is attached. - Felix Thanks for catching this. I'll be posting a fixed patch in a few moments. Out of curiosity, what are you using on the host side for building OpenWrt? The host ar/ranlib never complained on my system or any other system here that was used to build AllJoyn for OpenWrt. -- Steve Kinneberg Qualcomm Innovation Center, Inc. Email: ste...@quicinc.com Phone: +1 (206) 576-0107 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH v2] [packages] AllJoyn: New package (updated)
from: AllJoyn Project (Qualcomm Innovation Center, Inc.) maintain...@alljoyn.org Add AllJoyn v. 3.3.2 as a new package to OpenWrt. AllJoyn is a peer-to-peer networking technology. Project details can be found at http://www.alljoyn.org. Signed-off-by: Steve Kinneberg ste...@quicinc.com --- This fixes a build bug found by Felix Fietkau. On Fri, 2013-07-26 at 12:27 +0200, Felix Fietkau wrote: The package does not build here (it seems to be using the native ar/ranlib tools instead of the cross-tools). Build log is attached. - Felix Index: package/network/services/alljoyn/files/alljoyn.init === --- package/network/services/alljoyn/files/alljoyn.init (revision 0) +++ package/network/services/alljoyn/files/alljoyn.init (working copy) @@ -0,0 +1,224 @@ +#!/bin/sh /etc/rc.common + +# Copyright (C) 2013 Qualcomm Innovation Center, Inc. +# +#Licensed under the Apache License, Version 2.0 (the License); +#you may not use this file except in compliance with the License. +#You may obtain a copy of the License at +# +#http://www.apache.org/licenses/LICENSE-2.0 +# +#Unless required by applicable law or agreed to in writing, software +#distributed under the License is distributed on an AS IS BASIS, +#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +#See the License for the specific language governing permissions and +#limitations under the License. +# + +START=65 + +SERVICE_PID_FILE=/var/run/alljoyn.pid + +CONFIGFILE=/var/etc/alljoyn.conf + + +check() { +local flag + +config_get_bool flag $1 $2 0 + +test $flag == 1 +return $? +} + + +process_network() { +local network=$1 +local var=$2 +local ifname + +config_get ifname $network ifname +if [ -n $ifname ]; then + append ${var} ${ifname} , +fi +} + +process_networks() { +local section=$1 + +if check $section all_networks; then + export ${section}_networks=* +else + config_list_foreach $section networks process_network ${section}_networks + + if [ $section == ip ]; then + # special case IP until multiple interfaces are properly supported for IP + local len + config_get len ip networks_LENGTH + + if [ $len == 1 ]; then + local network + config_get network ip networks_ITEM1 + config_get addr $network ipaddr + fi + fi +fi +} + + +process_unix_transport() { +if check unix enable; then + local path + local abstract + + + config_get path unix path alljoyn + config_get_bool abstract unix abstract 1 + + if [ -n $abstract ]; then + path=abstract=$path + else + path=path=$path + fi + export ${NO_EXPORT:+-n} listen_specs=${listen_specs} + listenunix:${path}/listen + + config_get unix_auth_timeout unix auth_timeout $unix_auth_timeout +fi +} + + +process_ip_transport() { +if check ip enable; then + local port + local addr=0.0.0.0 + + if check ip advertise_daemon; then + export ${NO_EXPORT:+-n} ip_advertise_daemon=tcp +property router_advertisement_prefix=\org.alljoyn.BusNode.\/ + /tcp + fi + + process_networks ip + + config_get port ip bus_port 9955 + + export ${NO_EXPORT:+-n} listen_specs=${listen_specs} + listentcp:addr=${addr},port=${port}/listen + + config_get ip_max_incomplete_conn ip max_incomplete_conn $ip_max_incomplete_conn + config_get ip_max_complete_conn ip max_complete_conn $ip_max_complete_conn + config_get ip_auth_timeout ip auth_timeout $ip_auth_timeout +fi +} + + +process_ice_transport() { +if check ice enable; then + local url + local addrport + local proto + + export ${NO_EXPORT:+-n} listen_specs=${listen_specs} + listenice:/listen + + process_networks ice + + config_get url ice server + + proto=${url%%:*} + addrport=${url##${proto}://} + + export ice_server=${addrport%:*} + + if [ $proto == http ]; then + export ice_protocol=HTTP + else + export ice_protocol=HTTPS + fi + + + config_get ice_max_incomplete_conn ice max_incomplete_conn $ice_max_incomplete_conn + config_get ice_max_complete_conn ice max_complete_conn $ice_max_complete_conn + config_get ice_auth_timeout ice auth_timeout $ice_auth_timeout +fi +} + + +process_bluetooth_transport() { +if check bluetooth enable; then + export ${NO_EXPORT:+-n} listen_specs=${listen_specs} + listenbluetooth:/listen +fi +} + + +generate_conf_file() { +local listen_specs= + +local unix_auth_timeout=5000 + +local ip_max_incomplete_conn=16 +local ip_max_complete_conn=64 +local ip_auth_timeout=2 +local ip_networks= +local ip_advertise_daemon= + +local ice_max_incomplete_conn=16 +
Re: [OpenWrt-Devel] [PATCH] [packages] AllJoyn: New package (updated)
On 2013-07-29 9:23 PM, Steve Kinneberg wrote: On Fri, 2013-07-26 at 12:27 +0200, Felix Fietkau wrote: On 2013-07-23 11:00 PM, Steve Kinneberg wrote: from: AllJoyn Project (Qualcomm Innovation Center, Inc.) maintain...@alljoyn.org Add AllJoyn v. 3.3.2 as a new package to OpenWrt. AllJoyn is a peer-to-peer networking technology. Project details can be found at http://www.alljoyn.org. The package does not build here (it seems to be using the native ar/ranlib tools instead of the cross-tools). Build log is attached. - Felix Thanks for catching this. I'll be posting a fixed patch in a few moments. Out of curiosity, what are you using on the host side for building OpenWrt? My main dev machine runs Mac OS X :) The host ar/ranlib never complained on my system or any other system here that was used to build AllJoyn for OpenWrt. Right, the Linux versions of ar/ranlib are mostly arch independent. I think there may be some exceptions though, so fixing it may be useful even for some Linux hosts. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH] [package] mac80211: rt2x00: add missing of.h header
Signed-off-by: Felix Kaechele hef...@fedoraproject.org --- .../patches/619-rt2x00-change-led-polarity-from-OF.patch | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch b/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch index f4c86fd..bf0572e 100644 --- a/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch +++ b/package/kernel/mac80211/patches/619-rt2x00-change-led-polarity-from-OF.patch @@ -1,6 +1,14 @@ --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c -@@ -5965,6 +5965,13 @@ static int rt2800_init_eeprom(struct rt2 +@@ -39,6 +39,7 @@ + #include linux/module.h + #include linux/slab.h + #include linux/clk.h ++#include linux/of.h + + #include rt2x00.h + #include rt2800lib.h +@@ -5966,6 +5967,13 @@ static int rt2800_init_eeprom(struct rt2 rt2800_init_led(rt2x00dev, rt2x00dev-led_assoc, LED_TYPE_ASSOC); rt2800_init_led(rt2x00dev, rt2x00dev-led_qual, LED_TYPE_QUALITY); -- 1.8.3.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [package] mac80211: rt2x00: add missing of.h header
On 2013-07-29 11:32 PM, Felix Kaechele wrote: Signed-off-by: Felix Kaechele hef...@fedoraproject.org Applied in r37618, thanks ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel