[cups.development] CUPS 1.5.0 - libiconv issue

Christopher Paolini paolini at engineering.sdsu.edu
Fri Jan 13 08:06:56 PST 2012


Nic K <nkulowiec at ...> writes:

> 
> > 
> > On Aug 4, 2011, at 12:24 PM, Ryan Donnelly wrote:
> > > collect2: ld returned 1 exit status
> > > make[1]: *** [ippserver] Error 1
> > > make: *** [all] Error 1
> 
> I, too, am having the issue compiling on Solaris 10 SPARC using Sun Freeware's 
> libiconv-1.13.1-sol10-sparc-local package, gcc 3.4.6 without binutils and
> Solaris's ld.
> 
> Nic
> 

This worked for me on a Solaris 10 SPARC system:

setenv LDFLAGS '-L/opt/csw/lib -L/opt/csw/gcc4/lib'
setenv LIBS '-liconv'
../configure --disable-gssapi
make

Full build without errors:
..
..
..
a - md5passwd.o
a - notify.o
a - options.o
a - page.o
a - ppd.o
a - ppd-cache.o
a - pwg-media.o
a - request.o
a - sidechannel.o
a - snmp.o
a - snprintf.o
a - string.o
a - tempfile.o
a - thread.o
a - transcode.o
a - usersys.o
a - util.o
ar: writing libcups.a
Linking libcups.so.2...
Making all in test...
Compiling ippserver.c...
Linking ippserver...
Compiling ipptool.c...
Linking ipptool...
Linking ipptool-static...
Making all in filter...
Compiling error.c...
error.c:172: warning: missing braces around initializer
error.c:172: warning: (near initialization for 
`raster_key_once.__pthread_once_pad')
Compiling interpret.c...
Compiling raster.c...
Linking libcupsimage.so.2...
Archiving libcupsimage.a...
a - error.o
a - interpret.o
a - raster.o
ar: writing libcupsimage.a
Compiling commandtops.c...
Linking commandtops...
Compiling gziptoany.c...
Linking gziptoany...
Compiling pstops.c...
Compiling common.c...
Linking pstops...
Compiling rastertoepson.c...
Linking rastertoepson...
Compiling rastertohp.c...
Linking rastertohp...
Compiling rastertolabel.c...
Linking rastertolabel...
Compiling rastertopwg.c...
Linking rastertopwg...
Making all in backend...
Compiling ieee1284.c...
Compiling network.c...
Compiling runloop.c...
Compiling snmp-supplies.c...
Archiving libbackend.a...
a - ieee1284.o
a - network.o
a - runloop.o
a - snmp-supplies.o
ar: writing libbackend.a
Compiling ipp.c...
Linking ipp...
Compiling lpd.c...
Linking lpd...
Compiling snmp.c...
Linking snmp...
Compiling socket.c...
Linking socket...
Compiling usb.c...
usb-unix.c:561: warning: 'side_cb' defined but not used
Linking usb...
Making all in berkeley...
Compiling lpc.c...
Linking lpc...
Compiling lpq.c...
Linking lpq...
Compiling lpr.c...
Linking lpr...
Compiling lprm.c...
Linking lprm...
Making all in cgi-bin...
Compiling help-index.c...
Compiling html.c...
Compiling ipp-var.c...
Compiling search.c...
Compiling template.c...
Compiling var.c...
Archiving libcupscgi.a...
a - help-index.o
a - html.o
a - ipp-var.o
a - search.o
a - template.o
a - var.o
ar: writing libcupscgi.a
Linking libcupscgi.so.1...
Compiling websearch.c...
Linking websearch...
Compiling admin.c...
Linking admin.cgi...
Compiling classes.c...
Linking classes.cgi...
Compiling help.c...
Linking help.cgi...
Compiling jobs.c...
Linking jobs.cgi...
Compiling printers.c...
Linking printers.cgi...
Making all in monitor...
Compiling bcp.c...
Linking bcp...
Compiling tbcp.c...
Linking tbcp...
Making all in notifier...
Compiling mailto.c...
Linking mailto...
Compiling rss.c...
Linking rss...
Compiling testnotify.c...
Linking testnotify...
Making all in ppdc...
Compiling ppdc-array.cxx...
Compiling ppdc-attr.cxx...
Compiling ppdc-catalog.cxx...
Compiling ppdc-choice.cxx...
Compiling ppdc-constraint.cxx...
Compiling ppdc-driver.cxx...
Compiling ppdc-file.cxx...
Compiling ppdc-filter.cxx...
Compiling ppdc-font.cxx...
Compiling ppdc-group.cxx...
Compiling ppdc-import.cxx...
Compiling ppdc-mediasize.cxx...
Compiling ppdc-message.cxx...
Compiling ppdc-option.cxx...
Compiling ppdc-profile.cxx...
Compiling ppdc-shared.cxx...
Compiling ppdc-source.cxx...
Compiling ppdc-string.cxx...
Compiling ppdc-variable.cxx...
Linking libcupsppdc.so.1...
Archiving libcupsppdc.a...
a - ppdc-array.o
a - ppdc-attr.o
a - ppdc-catalog.o
a - ppdc-choice.o
a - ppdc-constraint.o
a - ppdc-driver.o
a - ppdc-file.o
a - ppdc-filter.o
a - ppdc-font.o
a - ppdc-group.o
a - ppdc-import.o
a - ppdc-mediasize.o
a - ppdc-message.o
a - ppdc-option.o
a - ppdc-profile.o
a - ppdc-shared.o
a - ppdc-source.o
a - ppdc-string.o
a - ppdc-variable.o
ar: writing libcupsppdc.a
Compiling ppdc.cxx...
Linking ppdc...
Compiling ppdhtml.cxx...
Linking ppdhtml...
Compiling ppdi.cxx...
Linking ppdi...
Compiling ppdmerge.cxx...
Linking ppdmerge...
Compiling ppdpo.cxx...
Linking ppdpo...
Compiling genstrings.cxx...
Linking genstrings...
Generating localization strings...
Making all in scheduler...
Compiling filter.c...
Compiling mime.c...
Compiling type.c...
Linking libcupsmime.so.1...
Archiving libcupsmime.a...
a - filter.o
a - mime.o
a - type.o
ar: writing libcupsmime.a
Compiling auth.c...
Compiling banners.c...
Compiling cert.c...
Compiling classes.c...
Compiling client.c...
Compiling conf.c...
Compiling dirsvc.c...
Compiling env.c...
Compiling file.c...
Compiling main.c...
Compiling ipp.c...
Compiling listen.c...
Compiling job.c...
Compiling log.c...
Compiling network.c...
Compiling policy.c...
Compiling printers.c...
Compiling process.c...
Compiling quotas.c...
Compiling select.c...
Compiling server.c...
Compiling statbuf.c...
Compiling subscriptions.c...
Compiling sysman.c...
Linking cupsd...
Compiling cupsfilter.c...
Linking cupsfilter...
Compiling cups-deviced.c...
Compiling util.c...
Linking cups-deviced...
Compiling cups-driverd.cxx...
Linking cups-driverd...
Compiling cups-exec.c...
Linking cups-exec...
Compiling cups-lpd.c...
Linking cups-lpd...
Making all in systemv...
Compiling cancel.c...
Linking cancel...
Compiling cupsaccept.c...
Linking cupsaccept...
Compiling cupsaddsmb.c...
Linking cupsaddsmb...
Compiling cupsctl.c...
Linking cupsctl...
Compiling cupstestdsc.c...
Linking cupstestdsc...
Compiling cupstestppd.c...
Linking cupstestppd...
Compiling lp.c...
Linking lp...
Compiling lpadmin.c...
Linking lpadmin...
Compiling lpinfo.c...
Linking lpinfo...
Compiling lpmove.c...
Linking lpmove...
Compiling lpoptions.c...
Linking lpoptions...
Compiling lppasswd.c...
Linking lppasswd...
Compiling lpstat.c...
Linking lpstat...
Making all in conf...
Making all in data...
Making all in desktop...
Making all in locale...
Compiling checkpo.c...
Linking ...
Compiling po2strings.c...
Linking ...
Compiling strings2po.c...
Linking ...
Compiling translate.c...
Linking ...
Making all in man...
Linking cancel.man...
Linking cups-config.man...
Linking cupstestdsc.man...
Linking cupstestppd.man...
Linking ipptool.man...
Linking lp.man...
Linking lpoptions.man...
Linking lppasswd.man...
Linking lpq.man...
Linking lprm.man...
Linking lpr.man...
Linking lpstat.man...
Linking ppdc.man...
Linking ppdhtml.man...
Linking ppdi.man...
Linking ppdmerge.man...
Linking ppdpo.man...
Linking classes.conf.man...
Linking client.conf.man...
Linking cups-snmp.conf.man...
Linking cupsd.conf.man...
Linking ipptoolfile.man...
Linking mailto.conf.man...
Linking mime.convs.man...
Linking mime.types.man...
Linking ppdcfile.man...
Linking printers.conf.man...
Linking subscriptions.conf.man...
Linking backend.man...
Linking filter.man...
Linking notifier.man...
Linking cupsaccept.man...
Linking cupsaddsmb.man...
Linking cupsctl.man...
Linking cupsfilter.man...
Linking cups-deviced.man...
Linking cups-driverd.man...
Linking cups-lpd.man...
Linking cups-polld.man...
Linking cupsd.man...
Linking cupsenable.man...
Linking lpadmin.man...
Linking lpinfo.man...
Linking lpmove.man...
Linking lpc.man...
Compiling mantohtml.c...
Converting man pages to HTML...
    cancel.1...
    cups-config.1...
    cupstestdsc.1...
    cupstestppd.1...
    ipptool.1...
    lp.1...
    lpoptions.1...
    lppasswd.1...
    lpq.1...
    lprm.1...
    lpr.1...
    lpstat.1...
    ppdc.1...
    ppdhtml.1...
    ppdi.1...
    ppdmerge.1...
    ppdpo.1...
    classes.conf.5...
    client.conf.5...
    cups-snmp.conf.5...
    cupsd.conf.5...
    ipptoolfile.5...
    mailto.conf.5...
    mime.convs.5...
    mime.types.5...
    ppdcfile.5...
    printers.conf.5...
    subscriptions.conf.5...
    backend.7...
    filter.7...
    notifier.7...
    cupsaccept.1m...
    cupsaddsmb.1m...
    cupsctl.1m...
    cupsfilter.1m...
    cups-deviced.1m...
    cups-driverd.1m...
    cups-lpd.1m...
    cups-polld.1m...
    cupsd.1m...
    cupsenable.1m...
    lpadmin.1m...
    lpinfo.1m...
    lpmove.1m...
    lpc.1m...
Making all in doc...
Making all in examples...
Making all in templates...








More information about the cups mailing list