cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Trouble building NSS variant

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 18 Jul 2014 14:33:01 +0200

On Thursday, July 17, 2014 15:06:14 Alessandro Ghedini wrote:
> On gio, lug 17, 2014 at 02:42:34 +0200, Kamil Dudka wrote:
> > On Thursday, July 17, 2014 13:30:25 Kamil Dudka wrote:
> > > On Thursday, July 17, 2014 12:49:36 Alessandro Ghedini wrote:
> > > > Hi,
> > > >
> > > > I'm having trouble building the NSS variant (both from git and
7.37.1):
> > > > > libtool: link: gcc -O2 -Wno-system-headers -o .libs/curl
> > > > > curl-tool_binmode.o curl-tool_bname.o curl-tool_cb_dbg.o
> > > > > curl-tool_cb_hdr.o curl-tool_cb_prg.o curl-tool_cb_rea.o
> > > > > curl-tool_cb_see.o curl-tool_cb_wrt.o curl-tool_cfgable.o
> > > > > curl-tool_convert.o curl-tool_dirhie.o curl-tool_doswin.o
> > > > > curl-tool_easysrc.o curl-tool_formparse.o curl-tool_getparam.o
> > > > > curl-tool_getpass.o curl-tool_help.o curl-tool_helpers.o
> > > > > curl-tool_homedir.o curl-tool_hugehelp.o curl-tool_libinfo.o
> > > > > curl-tool_main.o curl-tool_metalink.o curl-tool_mfiles.o
> > > > > curl-tool_msgs.o
> > > > > curl-tool_operate.o curl-tool_operhlp.o curl-tool_panykey.o
> > > > > curl-tool_paramhlp.o curl-tool_parsecfg.o curl-tool_setopt.o
> > > > > curl-tool_sleep.o curl-tool_urlglob.o curl-tool_util.o
> > > > > curl-tool_vms.o
> > > > > curl-tool_writeenv.o curl-tool_writeout.o curl-tool_xattr.o
> > > > > ../lib/curl-strtoofft.o ../lib/curl-strdup.o ../lib/curl-rawstr.o
> > > > > ../lib/curl-nonblock.o ../lib/curl-warnless.o
> > > > > ../lib/.libs/libcurl.so
> > > > > -lz /usr/bin/ld: curl-tool_main.o: undefined reference to symbol
> > > > > 'PL_ArenaFinish' //usr/lib/x86_64-linux-gnu/libplds4.so: error
> > > > > adding
> > > > > symbols: DSO missing from command line collect2: error: ld returned
> > > > > 1
> > > > > exit status
> > > >
> > > > This on Debian with gcc-4.9.
> >
> > I am unable to reproduce it locally. Are you able to trigger the failure
> > with the upstream distribution of curl?
>
> Do you mean the 7.37.1 tarball? If so, yes. Same with git master.
>
> > Could you please attach your config.log?
>
> Attached.
>
> Cheers

Thanks! I have pushed (slightly modified) your patch:

https://github.com/bagder/curl/commit/c6e7cbb9

The reason why I was not able to reproduce the build failure is the following
libtool patch that Debian uses whereas Fedora does not:

http://lists.gnu.org/archive/html/bug-libtool/2011-04/txtf4rmdrcutU.txt

Next time please CC me when replying to the mailing-list. I did not receive
some of your e-mails that I can see in the ML archive and even the mail I am
replying to was delivered to me with several hours delay.

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-18