Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #689

Re: Error while cross compiling libcurl library

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Rainer Weikusat <rweikusat@mobileactivedefense.com>
Newsgroups comp.os.linux.development.apps
Subject Re: Error while cross compiling libcurl library
Date Tue, 15 Apr 2014 15:37:09 +0100
Lines 21
Message-ID <87sipefylm.fsf@sable.mobileactivedefense.com> (permalink)
References <e3adaf02-d047-43ea-a350-5c1cc1a36a69@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace individual.net RVoC69pQNhdbLeuIin2AwwFBtUgaM3gN+vQmNLNt4Eo4prjV8=
Cancel-Lock sha1:5g38p9ahCisJsT4Ca0Xl/DRiRTs= sha1:biDdGcItW4nRJeq7H4BfrMQXJ2o=
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Xref csiph.com comp.os.linux.development.apps:689

Show key headers only | View raw


innolab123@gmail.com writes:
> Hi,
> I am using openwrt white russian SDK to cross compile my c code.The code uses curl library so I added libcurl.so in the lib folder of the SDK.
>
> I think this is a problem of version mismatch. Because I read in one of group posts that '' represents hidden dependencies in linux and here for example I an also getting 
> undefined reference to `abort@GLIBC_2.0'
>
> Now when I cross compile the c code it gives error 
>
>
> /home/inovationlab/test2/OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/lib/libcurl.so: undefined reference to `getenv@GLIBC_2.0'
> /home/inovationlab/test2/OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/lib/libcurl.so: undefined reference to `strcpy@GLIBC_2.0'
> /home/inovationlab/test2/OpenWrt-SDK-Linux-i686-1/staging_dir_mipsel/bin/../lib/gcc/mipsel-linux-uclibc/3.4.4/../../../../mipsel-linux-uclibc/lib/libcurl.so: undefined reference to `strchr@GLIBC_2.0'

[and so on]

These are all 'standard' C library functions. This suggests that the
curl library was linked with another C library than the one you're
trying to use for this case ("somewhat educated guess").

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Find similar


Thread

Error while cross compiling libcurl library innolab123@gmail.com - 2014-04-15 04:25 -0700
  Re: Error while cross compiling libcurl library Rainer Weikusat <rweikusat@mobileactivedefense.com> - 2014-04-15 15:37 +0100

csiph-web