avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Min Zhou <coderp...@gmail.com>
Subject failure when testing avro
Date Sun, 05 Jul 2009 04:05:01 GMT
Hi all,

I've sucessfully compiled avro, but came across a failure when testing it.

     [exec] gcc -Wall -pedantic -I/usr/local/apr/include/apr-1 -o
.libs/test_avro_zigzag test_avro_zigzag.o  ./.libs/libavro.so -Wl,--rpath
-Wl,/home/zhoumin/avro/build/c/install/Linux-amd64-64/lib
     [exec] test_avro_zigzag.o: In function `main':
     [exec] test_avro_zigzag.c:(.text+0xc): undefined reference to
`apr_initialize'
     [exec] test_avro_zigzag.c:(.text+0x11): undefined reference to
`apr_terminate'
     [exec] test_avro_zigzag.c:(.text+0x2e): undefined reference to
`apr_pool_create_ex'
     [exec] test_avro_zigzag.c:(.text+0x234): undefined reference to
`apr_pool_destroy'
     [exec] ./.libs/libavro.so: undefined reference to `apr_socket_recv'
     [exec] ./.libs/libavro.so: undefined reference to `apr_file_write_full'
     [exec] ./.libs/libavro.so: undefined reference to `apr_hash_next'
     [exec] ./.libs/libavro.so: undefined reference to `apr_array_push'
     [exec] ./.libs/libavro.so: undefined reference to `apr_hash_this'
     [exec] ./.libs/libavro.so: undefined reference to `apr_socket_send'
     [exec] ./.libs/libavro.so: undefined reference to `apr_hash_set'
     [exec] ./.libs/libavro.so: undefined reference to `apr_palloc'
     [exec] ./.libs/libavro.so: undefined reference to `apr_hash_first'
     [exec] ./.libs/libavro.so: undefined reference to `apr_file_read_full'
     [exec] ./.libs/libavro.so: undefined reference to `apr_hash_make'
     [exec] ./.libs/libavro.so: undefined reference to `apr_array_make'
     [exec] make[1]: Leaving directory `/home/zhoumin/avro/build/c/obj'
     [exec] collect2: ld returned 1 exit status
     [exec] make[1]: *** [test_avro_zigzag] Error 1
     [exec] make: *** [check-am] Error 2

It seemt there are something wrong with my apr installation. How can i
solving it?

Thanks,
Min
-- 
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.

My profile:
http://www.linkedin.com/in/coderplay
My blog:
http://coderplay.javaeye.com

Mime
View raw message