cups compiler on solaris10 error

Helge Blischke h.blischke at srz.de
Mon Jul 4 06:39:09 PDT 2005


yangzhaowei wrote:
> 
> my compiler environment:
> 
> gcc 3.42
> solaris 10
> cups 1.1.23
> 
> /conigure
> ok.
> make
> error info:
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> Undefined                       first referenced
>  symbol                             in file
> gnutls_set_default_priority         libcups.a(http.o)
> gnutls_certificate_free_credentials libcups.a(http.o)
> gnutls_init                         libcups.a(http.o)
> gnutls_record_send                  libcups.a(http.o)
> gnutls_record_recv                  libcups.a(http.o)
> gnutls_record_check_pending         libcups.a(http.o)
> gnutls_credentials_set              libcups.a(http.o)
> gnutls_global_init                  libcups.a(http.o)
> gnutls_bye                          libcups.a(http.o)
> gnutls_deinit                       libcups.a(http.o)
> gnutls_transport_set_ptr            libcups.a(http.o)
> gnutls_certificate_allocate_credentials libcups.a(http.o)
> gnutls_handshake                    libcups.a(http.o)
> ld: fatal: Symbol referencing errors. No output written to testhttp
> collect2: ld returned 1 exit status
> make[1]: *** [testhttp] Error 1
> make: *** [all] Error 1
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
> help me,please.

Your system probably has gnutls/gnutls.h (the header files) in a location where configure
is able to find them, but the linker does not find the respecive library. Either set upf your
LD_LIBRARY_PATH environbment variable or (better) set up a symbolic link in /usr/lib to the real
library location.

Helge

-- 
Helge Blischke
Softwareentwicklung
SRZ Berlin | Firmengruppe besscom
http://www.srz.de




More information about the cups mailing list