Solaris 10 Linking error

Kevin Mallon kmallon at genpak.com
Wed Oct 31 10:41:26 PDT 2012


> Kevin Mallon wrote:
>
> >
> > Can anyone tell me how to fix this error
> >
> >  Thanks in advance
> >
> > gmake
> > Using ARCHFLAGS=
> > Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5
> > -I/usr/include/kerberosv5  -DOPENSSL_DISABLE_OLD_DES_SUPPORT
> > -D_LARGEFILE_SOU RCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> > -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
> > Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/usr/include/kerberosv5
> > -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURC
> > E -D_FILE_OFFSET_BITS=64 -D_THREAD_SAFE -D_REENTRANT
> > -D_POSIX_PTHREAD_SEMANTICS Using CC=gcc Using CXX=gcc
> > Using DSOFLAGS=-L../cups  -Wl,-hall -G -Wall -Wno-format-y2k -Wunused
> > -fPIC -Os -g Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc
> > -L../scheduler -fPIE -pie -Wall -Wno-format-y2k -Wunused -fPIC -Os -g
> > Using LIBS=-lcups -lgss -L/usr/lib -R/usr/lib -lkrb5 -lssl -lcrypto  -lz
> > -lpthread -lresolv -lnsl -lsocket -lm   -lz Making all in cups...
> > Making all in test...
> > Linking ippserver...
> > Undefined                       first referenced
> >  symbol                             in file
> > libiconv_close                      ../cups/libcups.a(transcode.o)
> > libiconv_open                       ../cups/libcups.a(transcode.o)
> > libiconv                            ../cups/libcups.a(transcode.o)
> > ld: fatal: Symbol referencing errors. No output written to ippserver
> > collect2: ld returned 1 exit status
> > gmake[1]: *** [ippserver] Error 1
> > gmake: *** [all] Error 1
>
> The native libiconv installed with Solaris 10 lacks a couple of features
> compared with GNU libiconv.
> I'd suggest to install the package from sunfreeware.com or download the GNU
> sources and build libiconv prior to CUPS.
>
> Helge';



I had already downloaded icinv from sunfreeware.con prior to  running make the first time
>





More information about the cups mailing list