[cups.general] cupstestppd 1.4.1
Helge Blischke
h.blischke at acm.org
Thu Oct 22 09:31:40 PDT 2009
Johan Bengtsson wrote:
> Michael Sweet wrote:
>
>> Oops, do the following instead:
>>
>> ./configure --enable-static --disable-shared
>> cd cups
>> make
>> cd ../filter
>> make libs
>> cd ../systemv
>> make cupstestppd
>
> When I tried that I got:
>
> Compiling cupstestppd.c...
> Linking cupstestppd...
> /usr/bin/ld: cupstestppd.o: relocation R_X86_64_32 against `a local
> symbol' can not be used when making a shared object; recompile with -fPIC
> cupstestppd.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make: *** [cupstestppd] Error 1
>
> Then I tried:
>
> ./configure --enable-static --disable-shared CFLAGS=-fPIC
>
> and got:
>
> Compiling cupstestppd.c...
> Linking cupstestppd...
> ../cups/libcups.a(http.o): In function `httpClose':
> /home/elijah/cups_141/cups-1.4.1/cups/http.c:349: undefined reference to
> `gss_delete_sec_context'
> /home/elijah/cups_141/cups-1.4.1/cups/http.c:352: undefined reference to
> `gss_release_name'
> ../cups/libcups.a(auth.o): In function `cups_get_gssname':
> /home/elijah/cups_141/cups-1.4.1/cups/auth.c:444: undefined reference to
> `GSS_C_NT_HOSTBASED_SERVICE'
> /home/elijah/cups_141/cups-1.4.1/cups/auth.c:444: undefined reference to
> `gss_import_name'
> ../cups/libcups.a(auth.o): In function `cupsDoAuthentication':
> /home/elijah/cups_141/cups-1.4.1/cups/auth.c:292: undefined reference to
> `gss_delete_sec_context'
> /home/elijah/cups_141/cups-1.4.1/cups/auth.c:296: undefined reference to
> `gss_init_sec_context'
> /home/elijah/cups_141/cups-1.4.1/cups/auth.c:348: undefined reference to
> `gss_release_buffer'
> /home/elijah/cups_141/cups-1.4.1/cups/auth.c:355: undefined reference to
> `gss_release_buffer'
> collect2: ld returned 1 exit status
> make: *** [cupstestppd] Error 1
>
> -Johan Bengtsson
redo the configure with the additional option "--disable-gssapi" as this
interface probably is broken on Solaris.
Helge
More information about the cups
mailing list