Re: [squid-users] make squid-3.1.1

From: lieven <>
Date: Mon, 03 May 2010 10:12:17 +0200

Thank you Henrik.

I just tried your suggestion and emptied the base64.c file.
It did solve one problem but a new one arises.

I took following actions:

make clean

and now it stops like this:

gcc -g -O2 -Wall -Wextra -Werror -Wcomment -Wpointer-arith -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wdeclaration-after-statement -Wshadow
-Wl,-R/usr/lib -L/usr/lib -lgssapi -lheimntlm -lkrb5 -L../../../lib -o
squid_kerb_auth squid_kerb_auth.o base64.o -lmiscutil -lm
squid_kerb_auth.o: In function `main':
undefined reference to `ska_base64_decode_len'
undefined reference to `ska_base64_decode'
undefined reference to `ska_base64_encode_len'
undefined reference to `ska_base64_encode_len'
undefined reference to `ska_base64_encode'
collect2: ld returned 1 exit status
make[5]: *** [squid_kerb_auth] Error 1
make[5]: Leaving directory
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
make[3]: *** [all] Error 2
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/software/squid-3.1.1/helpers'
make: *** [all-recursive] Error 1

Maybe I can just compile the squid_kerb_auth helper and install the rest
of squid3 with apt-get.

I already tried downloading the squid_kerb_auth from the cvs
(sourceforge project) but couldn't get it to configure. Here, when I go
into the squid_kerb_auth folder, at least the configure works.

Sorry if this sounds gibberish, I'm not a programmer.

thanks for your help.

Henrik Nordström wrote:
> ons 2010-04-28 klockan 18:46 +0200 skrev lieven:
>> squid_kerb_auth squid_kerb_auth.o base64.o -lmiscutil -lm
>> ../../../lib/libmiscutil.a(base64.o):(.rodata+0x0): multiple definition
>> of `base64_code'
>> base64.o:(.rodata+0x0): first defined here
> Try this:
> echo >helpers/negotiate_auth/squid_kerb_auth/base64.c
> Appears that file is duplicate and colliding with the same from within
> the main parts of the Squid source tree.
> Regards
> Henrik

Please Visit us at V-ICT-OR shopt IT
25 May 2010 - De Montil - Affligem
Lieven De Puysseleir
BA N.V. -
Dalemhof 28, 3000 Leuven
tel: 0032 (0)16 29 80 45

Received on Mon May 03 2010 - 08:12:24 MDT

This archive was generated by hypermail 2.2.0 : Mon May 03 2010 - 12:00:03 MDT