проблема со сборкой

Nix nixiethedev at googlemail.com
Thu Apr 17 17:57:56 MSD 2008


Добрый день. Проблемка со сборкой на федоре 9.
./configure --with-http_ssl_module --with-http_realip_module
--with-http_stub_status_module --with-http_perl_module
--with-cc-opt="-I /usr/local/include/"

Не подскажете куда копать?

Валится с такой ошибкой:

gcc -o objs/nginx \
        objs/src/core/nginx.o \
        objs/src/core/ngx_log.o \
        objs/src/core/ngx_palloc.o \
        objs/src/core/ngx_array.o \
        objs/src/core/ngx_list.o \
        objs/src/core/ngx_hash.o \
        objs/src/core/ngx_buf.o \
        objs/src/core/ngx_output_chain.o \
        objs/src/core/ngx_string.o \
        objs/src/core/ngx_parse.o \
        objs/src/core/ngx_inet.o \
        objs/src/core/ngx_file.o \
        objs/src/core/ngx_crc32.o \
        objs/src/core/ngx_rbtree.o \
        objs/src/core/ngx_radix_tree.o \
        objs/src/core/ngx_slab.o \
        objs/src/core/ngx_times.o \
        objs/src/core/ngx_shmtx.o \
        objs/src/core/ngx_connection.o \
        objs/src/core/ngx_cycle.o \
        objs/src/core/ngx_spinlock.o \
        objs/src/core/ngx_cpuinfo.o \
        objs/src/core/ngx_conf_file.o \
        objs/src/core/ngx_resolver.o \
        objs/src/core/ngx_open_file_cache.o \
        objs/src/core/ngx_garbage_collector.o \
        objs/src/event/ngx_event.o \
        objs/src/event/ngx_event_timer.o \
        objs/src/event/ngx_event_posted.o \
        objs/src/event/ngx_event_busy_lock.o \
        objs/src/event/ngx_event_accept.o \
        objs/src/event/ngx_event_connect.o \
        objs/src/event/ngx_event_pipe.o \
        objs/src/os/unix/ngx_time.o \
        objs/src/os/unix/ngx_errno.o \
        objs/src/os/unix/ngx_alloc.o \
        objs/src/os/unix/ngx_files.o \
        objs/src/os/unix/ngx_socket.o \
        objs/src/os/unix/ngx_recv.o \
        objs/src/os/unix/ngx_readv_chain.o \
        objs/src/os/unix/ngx_udp_recv.o \
        objs/src/os/unix/ngx_send.o \
        objs/src/os/unix/ngx_writev_chain.o \
        objs/src/os/unix/ngx_channel.o \
        objs/src/os/unix/ngx_shmem.o \
        objs/src/os/unix/ngx_process.o \
        objs/src/os/unix/ngx_daemon.o \
        objs/src/os/unix/ngx_setproctitle.o \
        objs/src/os/unix/ngx_posix_init.o \
        objs/src/os/unix/ngx_user.o \
        objs/src/os/unix/ngx_process_cycle.o \
        objs/src/os/unix/ngx_linux_init.o \
        objs/src/event/modules/ngx_epoll_module.o \
        objs/src/os/unix/ngx_linux_sendfile_chain.o \
        objs/src/event/ngx_event_openssl.o \
        objs/src/core/ngx_regex.o \
        objs/src/http/ngx_http.o \
        objs/src/http/ngx_http_core_module.o \
        objs/src/http/ngx_http_special_response.o \
        objs/src/http/ngx_http_request.o \
        objs/src/http/ngx_http_parse.o \
        objs/src/http/ngx_http_header_filter_module.o \
        objs/src/http/ngx_http_write_filter_module.o \
        objs/src/http/ngx_http_copy_filter_module.o \
        objs/src/http/modules/ngx_http_log_module.o \
        objs/src/http/ngx_http_request_body.o \
        objs/src/http/ngx_http_variables.o \
        objs/src/http/ngx_http_script.o \
        objs/src/http/ngx_http_upstream.o \
        objs/src/http/ngx_http_upstream_round_robin.o \
        objs/src/http/ngx_http_parse_time.o \
        objs/src/http/modules/ngx_http_static_module.o \
        objs/src/http/modules/ngx_http_index_module.o \
        objs/src/http/modules/ngx_http_chunked_filter_module.o \
        objs/src/http/modules/ngx_http_range_filter_module.o \
        objs/src/http/modules/ngx_http_headers_filter_module.o \
        objs/src/http/modules/ngx_http_not_modified_filter_module.o \
        objs/src/http/ngx_http_busy_lock.o \
        objs/src/http/modules/ngx_http_gzip_filter_module.o \
        objs/src/http/ngx_http_postpone_filter_module.o \
        objs/src/http/modules/ngx_http_charset_filter_module.o \
        objs/src/http/modules/ngx_http_ssi_filter_module.o \
        objs/src/http/modules/ngx_http_userid_filter_module.o \
        objs/src/http/modules/ngx_http_autoindex_module.o \
        objs/src/http/modules/ngx_http_auth_basic_module.o \
        objs/src/http/modules/ngx_http_access_module.o \
        objs/src/http/modules/ngx_http_limit_zone_module.o \
        objs/src/http/modules/ngx_http_realip_module.o \
        objs/src/http/modules/ngx_http_geo_module.o \
        objs/src/http/modules/ngx_http_map_module.o \
        objs/src/http/modules/ngx_http_referer_module.o \
        objs/src/http/modules/ngx_http_rewrite_module.o \
        objs/src/http/modules/ngx_http_ssl_module.o \
        objs/src/http/modules/ngx_http_proxy_module.o \
        objs/src/http/modules/ngx_http_fastcgi_module.o \
        objs/src/http/modules/perl/ngx_http_perl_module.o \
        objs/src/http/modules/ngx_http_memcached_module.o \
        objs/src/http/modules/ngx_http_empty_gif_module.o \
        objs/src/http/modules/ngx_http_browser_module.o \
        objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
        objs/src/http/modules/ngx_http_stub_status_module.o \
        objs/ngx_modules.o \
        -lcrypt -lpcre -lssl -lcrypto -lz \

objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_cleanup_perl':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:819:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:819:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:819:
undefined reference to `Perl_croak_nocontext'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:821:
undefined reference to `perl_destruct'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:823:
undefined reference to `perl_free'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_init_interpreter':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:505:
undefined reference to `Perl_sys_init'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_create_interpreter':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:547:
undefined reference to `perl_alloc'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:556:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:556:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:556:
undefined reference to `Perl_croak_nocontext'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:558:
undefined reference to `perl_construct'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:579:
undefined reference to `perl_parse'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:586:
undefined reference to `Perl_get_sv'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:587:
undefined reference to `Perl_sv_2pv_flags'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_run_requires':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:625:
undefined reference to `Perl_require_pv'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:627:
undefined reference to `Perl_sv_2bool'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:629:
undefined reference to `Perl_sv_2pv_flags'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_create_interpreter':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:606:
undefined reference to `perl_destruct'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:608:
undefined reference to `perl_free'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_xs_init':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:165:
undefined reference to `boot_DynaLoader'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:165:
undefined reference to `Perl_newXS'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:167:
undefined reference to `Perl_gv_stashpv'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_eval_anon_sub':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:766:
undefined reference to `Perl_eval_pv'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_set':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1014:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1014:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1014:
undefined reference to `Perl_croak_nocontext'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1025:
undefined reference to `Perl_newSVpvn'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function `ngx_http_perl':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:943:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:943:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:943:
undefined reference to `Perl_croak_nocontext'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:954:
undefined reference to `Perl_newSVpvn'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_call_handler':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:662:
undefined reference to `Perl_push_scope'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:663:
undefined reference to `Perl_save_int'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:665:
undefined reference to `Perl_markstack_grow'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:667:
undefined reference to `Perl_newSViv'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:667:
undefined reference to `Perl_newRV_noinc'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:667:
undefined reference to `Perl_sv_bless'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:667:
undefined reference to `Perl_sv_2mortal'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:668:
undefined reference to `Perl_stack_grow'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:671:
undefined reference to `Perl_stack_grow'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:674:
undefined reference to `Perl_sv_2mortal'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:682:
undefined reference to `Perl_call_sv'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:689:
undefined reference to `Perl_free_tmps'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:690:
undefined reference to `Perl_pop_scope'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:697:
undefined reference to `Perl_sv_2iv_flags'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:703:
undefined reference to `Perl_sv_2pv_flags'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:717:
undefined reference to `Perl_free_tmps'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:718:
undefined reference to `Perl_pop_scope'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:722:
undefined reference to `Perl_sv_2bool'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:724:
undefined reference to `Perl_sv_2pv_flags'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_variable':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:326:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:326:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:326:
undefined reference to `Perl_croak_nocontext'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_ssi':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:391:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:391:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:391:
undefined reference to `Perl_croak_nocontext'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:411:
undefined reference to `Perl_newSVpvn'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:422:
undefined reference to `Perl_sv_free2'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:422:
undefined reference to `Perl_sv_free'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:429:
undefined reference to `Perl_newSVpvn'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:439:
undefined reference to `Perl_sv_free2'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:439:
undefined reference to `Perl_sv_free'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_exit':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1069:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1069:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1069:
undefined reference to `Perl_croak_nocontext'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1071:
undefined reference to `Perl_sys_term'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_init_worker':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1047:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1047:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1047:
undefined reference to `Perl_croak_nocontext'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1051:
undefined reference to `Perl_gv_fetchpv'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:1051:
undefined reference to `Perl_sv_setiv'
objs/src/http/modules/perl/ngx_http_perl_module.o: In function
`ngx_http_perl_handle_request':
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:214:
undefined reference to `PL_thr_key'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:214:
undefined reference to `pthread_setspecific'
/root/build/nginx-0.6.29/src/http/modules/perl/ngx_http_perl_module.c:214:
undefined reference to `Perl_croak_nocontext'
collect2: ld returned 1 exit status
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory `/root/build/nginx-0.6.29'
make: *** [build] Error 2


More information about the nginx-ru mailing list