[asterisk-bugs] [Asterisk 0012102]: curl does not seem to work when cross-compiling

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Feb 28 15:43:35 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12102 
====================================================================== 
Reported By:                jmls
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12102
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-28-2008 13:26 CST
Last Modified:              02-28-2008 15:43 CST
====================================================================== 
Summary:                    curl does not seem to work when cross-compiling
Description: 
I am trying to get curl available under astlinux - but there seems to be a
problem when cross-compiling curl_lib. 

the error is :

[LD] func_curl.o -> func_curl.so
/usr/src/astlinux/build_i586/staging_dir/bin-ccache/../lib/gcc/i586-linux-uclibc/4.1.2/../../../../i586-linux-uclibc/bin/ld:
cannot find -lcurl
collect2: ld returned 1 exit status
make[2]: *** [func_curl.so] Error 1

Please see additional info for more info
====================================================================== 

---------------------------------------------------------------------- 
 jmls - 02-28-08 15:43  
---------------------------------------------------------------------- 
okay, noob question:

if you are building on a AMD64, but targeting an i586, shouldn't the
curl-config be run against the target-environment, not locally ? 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-28-08 15:43  jmls           Note Added: 0083133                          
======================================================================




More information about the asterisk-bugs mailing list