Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Прблема со сборкой nginx 0.7.48 под solaris 10
- To: nginx-ru@xxxxxxxxx
- Subject: Re: Прблема со сборкой nginx 0.7.48 под solaris 10
- From: "Vladimir N. Indik" <vladimir.indik@xxxxxxxxx>
- Date: Mon, 6 Apr 2009 15:24:48 +0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=UKCR8rkzok5XEpkIYVlMG+RNf+9cSURxmvYboYN+dvE=; b=eVz/jfRpZ5dQhO7uI5zy+XKb7yb/qJMhQSU3/JMNGHoSHStJX3s6bMWOKpIWJU7QG2 cz2ZOw9Azm8ZCNMx1IPQnldwTUAyg+i64IohJx103wyFmxNZeIOILEhwyoRTC2CQw5qu NNHpppXF362w86JnkNCAqcidF0/g9zIVsgsM0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=jk6n6RLpme+DLQU1y9XnDNCCCr2PnOyvnpajFxg7jaD0Q5onV+8pu9fHqiECctf94h rqfpxKUxFF4OQ3BiFhiC40aHkf5suCFA9Njo2htlm2EAlWwI6aAUmPqLxfty8aeLFhnu fGJmVwTOFp1mzXlFlZjHesl8G5MrfJbEg+cnM=
- In-reply-to: <20090406111300.GF78931@xxxxxxxxxxxxx>
- References: <30d11e2a0904060412p59456cd5ja308e482420cad8b@xxxxxxxxxxxxxx> <20090406111300.GF78931@xxxxxxxxxxxxx>
6 апреля 2009 г. 15:13 пользователь Igor Sysoev <is@xxxxxxxxxxxxx> написал:
> On Mon, Apr 06, 2009 at 03:12:42PM +0400, Vladimir N. Indik wrote:
>
>> Добрый день!
>>
>> При сборке любой версии, начиная с 0.7.44, появляются ошибки.
>>
>> bash-3.00$ ./configure --with-cc=/opt/csw/gcc3/bin/gcc
>> --with-pcre=../pcre-7.8/ --with-openssl=../openssl-0.9.8k/
>> --with-cc-opt="-I /export/home/indik/distrib/openssl-0.9.8k/include/";
>> make
>> ...
>> Undefined first referenced
>> symbol in file
>> MD5_Update objs/src/http/ngx_http_file_cache.o
>> MD5_Init objs/src/http/ngx_http_file_cache.o
>> MD5_Final objs/src/http/ngx_http_file_cache.o
>> ld: fatal: Symbol referencing errors. No output written to objs/nginx
>> collect2: ld returned 1 exit status
>> *** Error code 1
>> make: Fatal error: Command failed for target `objs/nginx'
>> Current working directory /export/home/indik/distrib/nginx-0.7.48
>> *** Error code 1
>> make: Fatal error: Command failed for target `build'
>>
>> Подскажите, пожалуйста, что я делаю не так.
>
> Вот это не нужно:
> --with-cc-opt="-I /export/home/indik/distrib/openssl-0.9.8k/include/";
>
> Что показывает configure ?
>
>
> --
> Игорь Сысоев
> http://sysoev.ru
>
>
bash-3.00$ ./configure --with-cc=/opt/csw/gcc3/bin/gcc
--with-pcre=../pcre-7.8/ --with-openssl=../openssl-0.9.8k
checking for OS
+ SunOS 5.10 sun4u
checking for C compiler ... found
+ using GNU C compiler
+ gcc version: 3.4.5
checking for gcc -pipe switch ... found
checking for gcc variadic macros ... found
checking for C99 variadic macros ... found
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... found
checking for sys/param.h ... found
checking for sys/mount.h ... found
checking for sys/statvfs.h ... found
checking for crypt.h ... found
checking for SunOS specific features
checking for sendfilev() ... found
checking for event ports ... found
checking for nobody group ... found
checking for poll() ... found
checking for /dev/poll ... found
checking for kqueue ... not found
checking for crypt() ... found
checking for O_DIRECT ... not found
checking for F_NOCACHE ... not found
checking for directio() ... found
checking for statfs() ... not found
checking for statvfs() ... found
checking for zlib library ... found
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system endianess ... big endianess
checking for size_t size ... 4 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 4 bytes
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for strerror_r() ... found
checking for gnu style strerror_r() ... found but is not working
checking for localtime_r() ... found
checking for posix_memalign() ... not found
checking for memalign() ... found
checking for sched_yield() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for struct msghdr.msg_control ... not found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... not found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... not found
Configuration summary
+ using PCRE library: ../pcre-7.8/
+ using OpenSSL library: ../openssl-0.9.8k
+ md5: using OpenSSL library
+ sha1 library is not used
+ using system zlib library
nginx path prefix: "/usr/local/nginx"
nginx binary file: "/usr/local/nginx/sbin/nginx"
nginx configuration prefix: "/usr/local/nginx/conf"
nginx configuration file: "/usr/local/nginx/conf/nginx.conf"
nginx pid file: "/usr/local/nginx/logs/nginx.pid"
nginx error log file: "/usr/local/nginx/logs/error.log"
nginx http access log file: "/usr/local/nginx/logs/access.log"
nginx http client request body temporary files:
"/usr/local/nginx/client_body_temp"
nginx http proxy temporary files: "/usr/local/nginx/proxy_temp"
nginx http fastcgi temporary files: "/usr/local/nginx/fastcgi_temp"
Без
> --with-cc-opt="-I /export/home/indik/distrib/openssl-0.9.8k/include/";
говорит
...
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:16:25: openssl/md5.h: No such file or directory
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:22: error: syntax error before "ngx_md5_t"
src/core/ngx_md5.h:22: warning: type defaults to `int' in declaration
of `ngx_md5_t'
src/core/ngx_md5.h:22: warning: data definition has no type or storage class
src/http/ngx_http_file_cache.c: In function `ngx_http_file_cache_create_key':
src/http/ngx_http_file_cache.c:135: error: syntax error before "md5"
src/http/ngx_http_file_cache.c:143: warning: implicit declaration of
function `MD5_Init'
src/http/ngx_http_file_cache.c:143: error: `md5' undeclared (first use
in this function)
src/http/ngx_http_file_cache.c:143: error: (Each undeclared identifier
is reported only once
src/http/ngx_http_file_cache.c:143: error: for each function it appears in.)
src/http/ngx_http_file_cache.c:153: warning: implicit declaration of
function `MD5_Update'
src/http/ngx_http_file_cache.c:160: warning: implicit declaration of
function `MD5_Final'
*** Error code 1
make: Fatal error: Command failed for target
`objs/src/http/ngx_http_file_cache.o'
Current working directory /export/home/indik/distrib/nginx-0.7.48
*** Error code 1
make: Fatal error: Command failed for target `build'
--
С уважением,
Индик Владимир
e-mail: vladimir.indik@xxxxxxxxx
|