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

Reply via email to