error when compiling

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

error when compiling

zen-4
hi,
i recently trying to build squid proxy with the latest source
squid-2.6.STABLE13,
on FreeBSD 6.2STABLE build on amd64 arch.
but errors show up when i do the "make" step.
these are the errors msg:

 fs/libcoss.a fs/libdiskd.a fs/libnull.a fs/libufs.a  auth/libbasic.a
auth/libdigest.a  -lcrypt  -lregex  ../snmplib/libsnmp.a     -lmiscutil  
-lpthread -lm
fs/libcoss.a(store_dir_coss.o)(.text+0xe9d): In function
`storeCossDirCheckLoadAv':
coss/store_dir_coss.c:687: undefined reference to `aioQueueSize'
fs/libcoss.a(store_dir_coss.o)(.text+0xeb4):coss/store_dir_coss.c:691:
undefined reference to `squidaio_magic1'
fs/libcoss.a(store_dir_coss.o)(.text+0x2031): In function
`storeCossDirInit':
coss/store_dir_coss.c:222: undefined reference to `aioInit'
fs/libcoss.a(store_dir_coss.o)(.text+0x2036):coss/store_dir_coss.c:223:
undefined reference to `squidaio_init'
fs/libcoss.a(store_dir_coss.o)(.text+0xf95): In function
`storeCossDirCallback':
coss/store_dir_coss.c:735: undefined reference to `aioCheckCallbacks'
fs/libcoss.a(store_dir_coss.o)(.text+0x1fc5): In function
`storeDirCoss_ReadStripe':
coss/store_dir_coss.c:1227: undefined reference to `aioRead'
fs/libcoss.a(store_io_coss.o)(.text+0x4fc): In function `storeCossSync':
coss/store_io_coss.c:679: undefined reference to `aioSync'
fs/libcoss.a(store_io_coss.o)(.text+0xa64): In function
`storeCossMaybeWriteMemBuf':
coss/store_io_coss.c:738: undefined reference to `aioWrite'
fs/libcoss.a(store_io_coss.o)(.text+0x1cfb): In function
`storeCossNewPendingRelocate':
coss/store_io_coss.c:1086: undefined reference to `aioRead'
*** Error code 1

Stop in /usr/local/source/squid-2.6.STABLE13/src.
*** Error code 1

Stop in /usr/local/source/squid-2.6.STABLE13/src.
*** Error code 1

Stop in /usr/local/source/squid-2.6.STABLE13/src.
*** Error code 1

Stop in /usr/local/source/squid-2.6.STABLE13.

could anyone tell me what is the problems?


TIA

ZeN

Reply | Threaded
Open this post in threaded view
|

Re: error when compiling

Tek Bahadur Limbu
zen wrote:

> hi,
> i recently trying to build squid proxy with the latest source
> squid-2.6.STABLE13,
> on FreeBSD 6.2STABLE build on amd64 arch.
> but errors show up when i do the "make" step.
> these are the errors msg:
>
> fs/libcoss.a fs/libdiskd.a fs/libnull.a fs/libufs.a  auth/libbasic.a
> auth/libdigest.a  -lcrypt  -lregex  ../snmplib/libsnmp.a     -lmiscutil  
> -lpthread -lm
> fs/libcoss.a(store_dir_coss.o)(.text+0xe9d): In function
> `storeCossDirCheckLoadAv':
> coss/store_dir_coss.c:687: undefined reference to `aioQueueSize'
> fs/libcoss.a(store_dir_coss.o)(.text+0xeb4):coss/store_dir_coss.c:691:
> undefined reference to `squidaio_magic1'
> fs/libcoss.a(store_dir_coss.o)(.text+0x2031): In function
> `storeCossDirInit':
> coss/store_dir_coss.c:222: undefined reference to `aioInit'
> fs/libcoss.a(store_dir_coss.o)(.text+0x2036):coss/store_dir_coss.c:223:
> undefined reference to `squidaio_init'
> fs/libcoss.a(store_dir_coss.o)(.text+0xf95): In function
> `storeCossDirCallback':
> coss/store_dir_coss.c:735: undefined reference to `aioCheckCallbacks'
> fs/libcoss.a(store_dir_coss.o)(.text+0x1fc5): In function
> `storeDirCoss_ReadStripe':
> coss/store_dir_coss.c:1227: undefined reference to `aioRead'
> fs/libcoss.a(store_io_coss.o)(.text+0x4fc): In function `storeCossSync':
> coss/store_io_coss.c:679: undefined reference to `aioSync'
> fs/libcoss.a(store_io_coss.o)(.text+0xa64): In function
> `storeCossMaybeWriteMemBuf':
> coss/store_io_coss.c:738: undefined reference to `aioWrite'
> fs/libcoss.a(store_io_coss.o)(.text+0x1cfb): In function
> `storeCossNewPendingRelocate':
> coss/store_io_coss.c:1086: undefined reference to `aioRead'
> *** Error code 1
>
> Stop in /usr/local/source/squid-2.6.STABLE13/src.
> *** Error code 1
>
> Stop in /usr/local/source/squid-2.6.STABLE13/src.
> *** Error code 1
>
> Stop in /usr/local/source/squid-2.6.STABLE13/src.
> *** Error code 1
>
> Stop in /usr/local/source/squid-2.6.STABLE13.
>
> could anyone tell me what is the problems?

Hi Zen,

What is your configure options before running make?


>
>
> TIA
>
> ZeN
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: error when compiling

Odhiambo WASHINGTON
* On 07/06/07 13:46 +0545, Tek Bahadur Limbu wrote:
| zen wrote:
| >hi,
| >i recently trying to build squid proxy with the latest source
| >squid-2.6.STABLE13,
| >on FreeBSD 6.2STABLE build on amd64 arch.
| >but errors show up when i do the "make" step.
| >these are the errors msg:
| >
| >fs/libcoss.a fs/libdiskd.a fs/libnull.a fs/libufs.a  auth/libbasic.a
| >auth/libdigest.a  -lcrypt  -lregex  ../snmplib/libsnmp.a     -lmiscutil  
| >-lpthread -lm
| >fs/libcoss.a(store_dir_coss.o)(.text+0xe9d): In function
| >`storeCossDirCheckLoadAv':
| >coss/store_dir_coss.c:687: undefined reference to `aioQueueSize'
| >fs/libcoss.a(store_dir_coss.o)(.text+0xeb4):coss/store_dir_coss.c:691:
| >undefined reference to `squidaio_magic1'
| >fs/libcoss.a(store_dir_coss.o)(.text+0x2031): In function
| >`storeCossDirInit':
| >coss/store_dir_coss.c:222: undefined reference to `aioInit'
| >fs/libcoss.a(store_dir_coss.o)(.text+0x2036):coss/store_dir_coss.c:223:
| >undefined reference to `squidaio_init'
| >fs/libcoss.a(store_dir_coss.o)(.text+0xf95): In function
| >`storeCossDirCallback':
| >coss/store_dir_coss.c:735: undefined reference to `aioCheckCallbacks'
| >fs/libcoss.a(store_dir_coss.o)(.text+0x1fc5): In function
| >`storeDirCoss_ReadStripe':
| >coss/store_dir_coss.c:1227: undefined reference to `aioRead'
| >fs/libcoss.a(store_io_coss.o)(.text+0x4fc): In function `storeCossSync':
| >coss/store_io_coss.c:679: undefined reference to `aioSync'
| >fs/libcoss.a(store_io_coss.o)(.text+0xa64): In function
| >`storeCossMaybeWriteMemBuf':
| >coss/store_io_coss.c:738: undefined reference to `aioWrite'
| >fs/libcoss.a(store_io_coss.o)(.text+0x1cfb): In function
| >`storeCossNewPendingRelocate':
| >coss/store_io_coss.c:1086: undefined reference to `aioRead'
| >*** Error code 1
| >
| >Stop in /usr/local/source/squid-2.6.STABLE13/src.
| >*** Error code 1
| >
| >Stop in /usr/local/source/squid-2.6.STABLE13/src.
| >*** Error code 1
| >
| >Stop in /usr/local/source/squid-2.6.STABLE13/src.
| >*** Error code 1
| >
| >Stop in /usr/local/source/squid-2.6.STABLE13.
| >
| >could anyone tell me what is the problems?

cd /usr/ports/www/squid
make config
make install

That is the FreeBSD way, unless you know what you are doing:-)



-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <[hidden email]>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

One way to make your old car run better is to look up the price of a
new model.

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: error when compiling

zen-4
Odhiambo WASHINGTON wrote:

>* On 07/06/07 13:46 +0545, Tek Bahadur Limbu wrote:
>| zen wrote:
>| >hi,
>| >i recently trying to build squid proxy with the latest source
>| >squid-2.6.STABLE13,
>| >on FreeBSD 6.2STABLE build on amd64 arch.
>| >but errors show up when i do the "make" step.
>| >these are the errors msg:
>| >
>| >fs/libcoss.a fs/libdiskd.a fs/libnull.a fs/libufs.a  auth/libbasic.a
>| >auth/libdigest.a  -lcrypt  -lregex  ../snmplib/libsnmp.a     -lmiscutil  
>| >-lpthread -lm
>| >fs/libcoss.a(store_dir_coss.o)(.text+0xe9d): In function
>| >`storeCossDirCheckLoadAv':
>| >coss/store_dir_coss.c:687: undefined reference to `aioQueueSize'
>| >fs/libcoss.a(store_dir_coss.o)(.text+0xeb4):coss/store_dir_coss.c:691:
>| >undefined reference to `squidaio_magic1'
>| >fs/libcoss.a(store_dir_coss.o)(.text+0x2031): In function
>| >`storeCossDirInit':
>| >coss/store_dir_coss.c:222: undefined reference to `aioInit'
>| >fs/libcoss.a(store_dir_coss.o)(.text+0x2036):coss/store_dir_coss.c:223:
>| >undefined reference to `squidaio_init'
>| >fs/libcoss.a(store_dir_coss.o)(.text+0xf95): In function
>| >`storeCossDirCallback':
>| >coss/store_dir_coss.c:735: undefined reference to `aioCheckCallbacks'
>| >fs/libcoss.a(store_dir_coss.o)(.text+0x1fc5): In function
>| >`storeDirCoss_ReadStripe':
>| >coss/store_dir_coss.c:1227: undefined reference to `aioRead'
>| >fs/libcoss.a(store_io_coss.o)(.text+0x4fc): In function `storeCossSync':
>| >coss/store_io_coss.c:679: undefined reference to `aioSync'
>| >fs/libcoss.a(store_io_coss.o)(.text+0xa64): In function
>| >`storeCossMaybeWriteMemBuf':
>| >coss/store_io_coss.c:738: undefined reference to `aioWrite'
>| >fs/libcoss.a(store_io_coss.o)(.text+0x1cfb): In function
>| >`storeCossNewPendingRelocate':
>| >coss/store_io_coss.c:1086: undefined reference to `aioRead'
>| >*** Error code 1
>| >
>| >Stop in /usr/local/source/squid-2.6.STABLE13/src.
>| >*** Error code 1
>| >
>| >Stop in /usr/local/source/squid-2.6.STABLE13/src.
>| >*** Error code 1
>| >
>| >Stop in /usr/local/source/squid-2.6.STABLE13/src.
>| >*** Error code 1
>| >
>| >Stop in /usr/local/source/squid-2.6.STABLE13.
>| >
>| >could anyone tell me what is the problems?
>
>cd /usr/ports/www/squid
>make config
>make install
>
>That is the FreeBSD way, unless you know what you are doing:-)
>
>
>
>-Wash
>
>http://www.netmeister.org/news/learn2quote.html
>
>DISCLAIMER: See http://www.wananchi.com/bms/terms.php
>
>--
>+======================================================================+
>    |\      _,,,---,,_     | Odhiambo Washington    <[hidden email]>
>Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
>   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
>  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
>+======================================================================+
>
>One way to make your old car run better is to look up the price of a
>new model.
>  
>
my mistake all,
it went smoothly when i remove "coss" from the --enable-storeio option

TIA

ZeN