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
./configure
make
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':
/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth.c:374:
undefined reference to `ska_base64_decode_len'
/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth.c:379:
undefined reference to `ska_base64_decode'
/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth.c:429:
undefined reference to `ska_base64_encode_len'
/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth.c:437:
undefined reference to `ska_base64_encode_len'
/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth/squid_kerb_auth.c:437:
undefined reference to `ska_base64_encode'
collect2: ld returned 1 exit status
make[5]: *** [squid_kerb_auth] Error 1
make[5]: Leaving directory
`/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/opt/software/squid-3.1.1/helpers/negotiate_auth/squid_kerb_auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/opt/software/squid-3.1.1/helpers/negotiate_auth'
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.
Lieven
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. - http://www.ba.be Dalemhof 28, 3000 Leuven tel: 0032 (0)16 29 80 45
This archive was generated by hypermail 2.2.0 : Mon May 03 2010 - 12:00:03 MDT