Opened 10 years ago

Closed 10 years ago

Last modified 3 years ago

#1676 closed defect (fixed)

squid does not compile

Reported by: anonymous Owned by: florian
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:


kamikaze rev 7195 - target: atheros 2.6

if mips-linux-uclibc-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include  -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include  -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -D_REENTRANT -MT cf_gen.o -MD -MP -MF ".deps/cf_gen.Tpo" -c -o cf_gen.o cf_gen.c; \
        then mv -f ".deps/cf_gen.Tpo" ".deps/cf_gen.Po"; else rm -f ".deps/cf_gen.Tpo"; exit 1; fi
if mips-linux-uclibc-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include  -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include  -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -D_REENTRANT -MT debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \
        then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1; fi
/usr/bin/perl ./ < ./globals.h > globals.c
if mips-linux-uclibc-gcc -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -I. -I. -I../include -I. -I. -I../include -I../include  -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include  -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -D_REENTRANT -MT globals.o -MD -MP -MF ".deps/globals.Tpo" -c -o globals.o globals.c; \
        then mv -f ".deps/globals.Tpo" ".deps/globals.Po"; else rm -f ".deps/globals.Tpo"; exit 1; fi
mips-linux-uclibc-gcc  -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I/home/ubuntu/atheros-2.6/staging_dir_mips/usr/include -I/home/ubuntu/atheros-2.6/staging_dir_mips/include -D_REENTRANT   -o cf_gen  cf_gen.o debug.o globals.o -L../lib -lmiscutil -lpthread -ldl -lm -lnsl 
rm -f cf_gen
gcc -c ctype.c
gcc -o cf_gen cf_gen.c -DNODEBUG=1 -I./ -I../ -I../include/ -L../lib -lmiscutili686 -lm -lnsl -Wl,ctype.o
In file included from squid.h:393,
                 from cf_gen.c:51:
../include/md5.h:12:25: error: openssl/md5.h: No such file or directory
In file included from squid.h:396,
                 from cf_gen.c:51:
ssl_support.h:40:25: error: openssl/ssl.h: No such file or directory
ssl_support.h:43:25: error: openssl/err.h: No such file or directory
ssl_support.h:46:28: error: openssl/engine.h: No such file or directory
In file included from squid.h:396,
                 from cf_gen.c:51:
ssl_support.h:49: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
ssl_support.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
ssl_support.h:54: error: expected declaration specifiers or '...' before 'SSL'
ssl_support.h:56: error: expected ')' before '*' token
ssl_support.h:57: error: expected ')' before '*' token
ssl_support.h:58: error: expected ')' before '*' token
ssl_support.h:59: error: expected ')' before '*' token
ssl_support.h:60: error: expected ')' before '*' token
In file included from squid.h:421,
                 from cf_gen.c:51:
structs.h:391: error: expected specifier-qualifier-list before 'SSL_CTX'
structs.h:808: error: expected specifier-qualifier-list before 'SSL_CTX'
structs.h:917: error: expected specifier-qualifier-list before 'SSL'
structs.h:1510: error: expected specifier-qualifier-list before 'SSL_CTX'
structs.h:2142: error: 'MD5_DIGEST_LENGTH' undeclared here (not in a function)
make[4]: *** [cf_parser.h] Error 1
make[4]: Leaving directory `/home/ubuntu/atheros-2.6/build_mips/squid-2.6.STABLE12/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ubuntu/atheros-2.6/build_mips/squid-2.6.STABLE12'
make[2]: *** [/home/ubuntu/atheros-2.6/build_mips/squid-2.6.STABLE12/.built] Error 2
make[2]: Leaving directory `/home/ubuntu/atheros-2.6/feeds/packages/net/squid'
make[1]: *** [squid-compile] Error 2
make[1]: Leaving directory `/home/ubuntu/atheros-2.6/package'
make: *** [package/squid-compile] Error 2

Attachments (0)

Change History (4)

comment:1 Changed 10 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Bartman007

This bug is is a regression from the fix for #1602. Changeset r7035 fixed that bug, and changeset r7150 nullified the fix.

comment:3 Changed 10 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed back again in [7228]

comment:4 Changed 3 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.