AnsweredAssumed Answered

Strange error on compile lighttpd

Question asked by rdo on Sep 16, 2012
Latest reply on Sep 17, 2012 by rdo

Hello!

 

I've configured lighttpd:

./configure --disable-ipv6 --prefix=/mnt/station/lighttpd  --without-bzip2 --disable-all --without-zlib --host=bfin-linux-uclibc --target=bfin-linux-uclibc

with CC=bfin-uclinux-gcc

But cannot compile, error:

make install

Making install in src

make[1]: Entering directory `/home/rdo/_distrib/lighttpd-1.4.19/src'

/bin/sh ../libtool --tag=CC   --mode=link bfin-uclinux-gcc  -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -module -export-dynamic -avoid-version -no-undefined  -o mod_flv_streaming.la -rpath /mnt/station/lighttpd/lib mod_flv_streaming.lo 

bfin-uclinux-gcc -shared  .libs/mod_flv_streaming.o   -Wl,-soname -Wl,mod_flv_streaming.so -o .libs/mod_flv_streaming.so

/opt/uClinux/bfin-uclinux/bfin-uclinux/runtime/usr/lib/crt1.o: In function `__start':

(.text+0x36): undefined reference to `_main'

/opt/uClinux/bfin-uclinux/bfin-uclinux/runtime/usr/lib/crt1.o: In function `__start':

(.text+0x3a): undefined reference to `_main'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_plugin_init':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:268: undefined reference to `_buffer_init_string'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_free':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:63: undefined reference to `_array_free'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:70: undefined reference to `_buffer_free'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:71: undefined reference to `_array_free'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_set_defaults':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:97: undefined reference to `_array_init'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:103: undefined reference to `_config_insert_values_global'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_path_handler':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:196: undefined reference to `_buffer_is_empty'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_patch_connection':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:125: undefined reference to `_config_check_cond'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:131: undefined reference to `_buffer_is_equal_string'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_path_handler':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:218: undefined reference to `_array_reset'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:219: undefined reference to `_buffer_copy_string_buffer'

.libs/mod_flv_streaming.o: In function `split_get_params':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:170: undefined reference to `_array_get_unused_element'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:173: undefined reference to `_buffer_copy_string_len'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:174: undefined reference to `_buffer_copy_string_len'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:176: undefined reference to `_array_insert_unique'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_path_handler':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:222: undefined reference to `_array_get_element'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:238: undefined reference to `_stat_cache_get_entry'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:247: undefined reference to `_chunkqueue_get_append_buffer'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:248: undefined reference to `_buffer_copy_string_len'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:250: undefined reference to `_http_chunk_append_file'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:252: undefined reference to `_response_header_overwrite'

.libs/mod_flv_streaming.o: In function `split_get_params':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:171: undefined reference to `_data_string_init'

.libs/mod_flv_streaming.o: In function `mod_flv_streaming_init':

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:41: undefined reference to `_buffer_init'

/home/rdo/_distrib/lighttpd-1.4.19/src/mod_flv_streaming.c:42: undefined reference to `_array_init'

collect2: ld returned 1 exit status

make[1]: *** [mod_flv_streaming.la] Error 1

make[1]: Leaving directory `/home/rdo/_distrib/lighttpd-1.4.19/src'

make: *** [install-recursive] Error 1

 

What is the reason of this error?    

Outcomes