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

From Rainer Weikusat <rweikusat@mobileactivedefense.com>
Newsgroups comp.os.linux.development.apps
Subject Re: Error while cross compiling libcurl library
Date 2014-04-15 15:37 +0100
Message-ID <87sipefylm.fsf@sable.mobileactivedefense.com> (permalink)
References <e3adaf02-d047-43ea-a350-5c1cc1a36a69@googlegroups.com>

Show all headers | 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