[cups.general] Solaris 10 Linking error

Michael Sweet msweet at apple.com
Wed Oct 31 10:55:21 PDT 2012


Kevin,

You probably need to add "-liconv" to the LIBS line in the Makedefs file.


On 2012-10-31, at 1:41 PM, Kevin Mallon <kmallon at genpak.com> wrote:

>> 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
>> 
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups

__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list