cups-base: undefined reference to `_httpBIOMethods'

Per olof Ljungmark peo at intersonic.se
Sat Feb 26 21:57:26 UTC 2011


Answering myself,

On 02/26/11 18:56, Per olof Ljungmark wrote:
<....>
> 
> cc  -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I..
> -D_CUPS_SOURCE -I/usr/local/include -O2 -pipe  -fno-strict-aliasing
> -DOPENSSL_DISABLE_OLD_DES_SUPPORT -D_LARGEFILE_SOURCE  -D_THREAD_SAFE
> -D_REENTRANT  -c -o sysman.o sysman.c
> echo Linking cupsd...
> Linking cupsd...
> cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
> -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib -Wl,-R/usr/local/lib
> -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -o cupsd auth.o
> banners.o cert.o classes.o client.o conf.o dirsvc.o env.o main.o ipp.o
> listen.o job.o log.o network.o policy.o printers.o process.o quotas.o
> removefile.o select.o server.o statbuf.o subscriptions.o sysman.o -L.
> -lcupsmime \
>                 -lz -lssl -lcrypto    \
>                     -lcups -lssl -lcrypto  -pthread -lm -lcrypt  \
> 
> client.o(.text+0x1989): In function `encrypt_client':
> /usr/ports/print/cups-base/work/cups-1.4.6/scheduler/client.c:3183:
> undefined reference to `_httpBIOMethods'
> gmake[1]: *** [cupsd] Error 1
> gmake[1]: Leaving directory
> `/usr/ports/print/cups-base/work/cups-1.4.6/scheduler'
> gmake: *** [all] Error 1
> *** Error code 1
> 
> Stop in /usr/ports/print/cups-base.

cups-client needs to be compiled w/out gnutls as well.


More information about the freebsd-questions mailing list