← Back to team overview

yade-users team mailing list archive

Re: Compilation with gts feature

 

Hello Vaclav,

if I disable vtk feature, there is no problem with gts. Similarly, when compiling with vtk but without gts, there is no problem as well. But compilation with both vtk feature and gts feature fails as I posted..
just to let you know :-)

regards
Jan


______________________________________________________________
> Od: "Jan Stránský" <_honzik@xxxxxxxxxx>
> Komu: <yade-users@xxxxxxxxxxxxxxxxxxx>
> Datum: 05.11.2010 17:50
> Předmět: Re: [Yade-users] Compilation with gts feature
>
>Hi Vaclav,
>nor installing libavutils50 helped.. I already had installed libavutil49.. I tried to reinstall all these packages, but also with no success :-)
>Regards
>Jan
>
>______________________________________________________________
>> Od: "Václav Šmilauer" <eu@xxxxxxxx>
>> Komu: yade-users@xxxxxxxxxxxxxxxxxxx
>> Datum: 05.11.2010 15:11
>> Předmět: Re: [Yade-users] Compilation with gts feature
>>
>>Some lib is asking to link with libavformat (probably vtk?), but
>>libavutil is not installed. It looks like packaging bug of those libs,
>>since they should depends on those. I suggest you try installing the
>>libavutil50 package, that might help. Let us know.
>>
>>Cheers, v.
>>
>>> Hello,
>>> 
>>> when installing Yade on another computer with gts (or log4cxx) feature, the compilation fails an in config.log I get this output. Do you know, what could be the source of the problem?
>>> thanks a lot in advance
>>> Jan
>>> 
>>> 
>>> scons: Configure: Checking for gts_object_class() in C++ library gts... 
>>> /home/yade/yade-src/build-trunk/.sconf_temp/conftest_18.cpp <-
>>>   |
>>>   |
>>>   |#include "gts.h"
>>>   |
>>>   |int
>>>   |main() {
>>>   |  gts_object_class();
>>>   |return 0;
>>>   |}
>>>   |
>>> g++ -o /home/yade/yade-src/build-trunk/.sconf_temp/conftest_18.o -c -pthread -I/usr/include/vtk-5.2 -I/usr/include/eigen2 -I/home/yade/yade-src/build-trunk/include -I/usr/include/python2.6 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include /home/yade/yade-src/build-trunk/.sconf_temp/conftest_18.cpp
>>> g++ -o /home/yade/yade-src/build-trunk/.sconf_temp/conftest_18 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -L. -lpython2.6 -pthread -Wl,--export-dynamic /home/yade/yade-src/build-trunk/.sconf_temp/conftest_18.o -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_regex -lboost_serialization -lboost_program_options -lboost_python -lglut -lvtkCommon -lvtkHybrid -lgts -lm -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -lgts
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_rescale@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_init@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_mul_q@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_des_crypt@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_rescale_q@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `ff_log2_tab@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_int2dbl@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_md5_sum@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_aes_init@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_dbl2ext@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_evaluate_lls@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_random_generate_untempered_numbers@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_solve_lls@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_tree_node_size@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_base64_decode@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_stristart@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_freep@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_strlcatf@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_malloc@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_rc4_init@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_ext2dbl@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_dbl2int@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_log@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_free@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_lzo1x_decode@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_md5_size@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_random_init@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_div_q@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_memcpy_backptr@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_mallocz@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_strdup@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_aes_size@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_aes_crypt@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_init_lls@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_md5_final@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_int2flt@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_rescale_rnd@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_size@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_crc_get_table@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_tree_find@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_read@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_tree_insert@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_drain@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_base64_encode@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_strlcat@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_crc@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_lfg_init@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_md5_update@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_log_get_level@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_rc4_crypt@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_update_lls@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_gcd@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_generic_write@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_generic_read@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `ff_sqrt_tab@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_md5_init@LIBAVUTIL_49'
>>> /usr/lib64/libvtkIO.so.5.2: undefined reference to `av_free@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_realloc@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_d2q@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_strstart@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_strlcpy@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_des_init@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_crc_init@LIBAVUTIL_49'
>>> /usr/lib64/libavcodec.so.52: undefined reference to `av_reduce@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_fifo_realloc2@LIBAVUTIL_49'
>>> /usr/lib64/libavformat.so.52: undefined reference to `av_adler32_update@LIBAVUTIL_49'
>>> collect2: ld returned 1 exit status
>>> scons: Configure: no
>>> 
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~yade-users
>>> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~yade-users
>>> More help   : https://help.launchpad.net/ListHelp
>>> 
>>
>>
>>
>>_______________________________________________
>>Mailing list: https://launchpad.net/~yade-users
>>Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>>Unsubscribe : https://launchpad.net/~yade-users
>>More help   : https://help.launchpad.net/ListHelp
>>
>
>_______________________________________________
>Mailing list: https://launchpad.net/~yade-users
>Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~yade-users
>More help   : https://help.launchpad.net/ListHelp
>



Follow ups

References