Discussion:
[TrouSerS-users] problems of building trousers
张方宇
2016-07-10 08:21:06 UTC
Permalink
Hello!


I want to install trousers on Fedora 23.
However when I run the command "make" it returns with the error:


../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function `psfile_get_parent_uuid_by_uuid':
tcsps.c:(.text+0x402): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function `psfile_get_key_by_uuid':
tcsps.c:(.text+0x61d): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function `psfile_get_key_by_cache_entry':
tcsps.c:(.text+0x81a): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function `psfile_get_vendor_data':
tcsps.c:(.text+0xa01): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function `psfile_is_pub_registered':
tcsps.c:(.text+0xd19): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o):tcsps.c:(.text+0xf5b): more undefined references to `read_data' follow
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function `psfile_write_key':
tcsps.c:(.text+0x173a): undefined reference to `write_data'
tcsps.c:(.text+0x175f): undefined reference to `write_data'
tcsps.c:(.text+0x1782): undefined reference to `write_data'
tcsps.c:(.text+0x17a5): undefined reference to `write_data'
tcsps.c:(.text+0x17cb): undefined reference to `write_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o):tcsps.c:(.text+0x17ee): more undefined references to `write_data' follow
collect2: error: ld returned 1 exit status
Makefile:399: recipe for target 'tcsd' failed
make[2]: *** [tcsd] Error 1
make[2]: Leaving directory '/home/zfyseu/trousers-0.3.13/src/tcsd'
Makefile:358: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zfyseu/trousers-0.3.13/src'
Makefile:396: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1


Do you know how to solve it?
Thank you!
Hon Ching Lo
2016-07-28 03:06:22 UTC
Permalink
Hi,

The error messages look very similar to the problem in the following thread:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778149


You may try with it with an older version of gcc (gcc 4.9) to see if it'll
work.
If posible, please open a bug at https://sourceforge.net/projects/trousers



Regards,
Vicky
Post by 张方宇
Hello!
I want to install trousers on Fedora 23.
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0x402): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0x61d): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0x81a): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0xa01): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0xd19): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o):tcsps.c:(.text+0xf5b): more
undefined references to `read_data' follow
tcsps.c:(.text+0x173a): undefined reference to `write_data'
tcsps.c:(.text+0x175f): undefined reference to `write_data'
tcsps.c:(.text+0x1782): undefined reference to `write_data'
tcsps.c:(.text+0x17a5): undefined reference to `write_data'
tcsps.c:(.text+0x17cb): undefined reference to `write_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o):tcsps.c:(.text+0x17ee): more
undefined references to `write_data' follow
collect2: error: ld returned 1 exit status
Makefile:399: recipe for target 'tcsd' failed
make[2]: *** [tcsd] Error 1
make[2]: Leaving directory '/home/zfyseu/trousers-0.3.13/src/tcsd'
Makefile:358: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zfyseu/trousers-0.3.13/src'
Makefile:396: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Do you know how to solve it?
Thank you!
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
TrouSerS-users mailing list
https://lists.sourceforge.net/lists/listinfo/trousers-users
Hon Ching Lo
2016-08-04 03:34:47 UTC
Permalink
Hi,

I installed Fedora 24. TrouSers was already installed on the system.

$ sudo tcsd
$ ps -ef | grep tcsd*
tss 12358 1 0 23:27 ? 00:00:00 tcsd


I took it that you wanted to build the package directly from source by
running 'make'.
Although I was able to replicate that error with Trousers 0.3.13., it's not
a new bug.
The problem was fixed and the patch is in the latest code from the master
branch:

https://sourceforge.net/p/trousers/trousers/ci/master/tree/
Click the "Download snapshot" for an archived source

Or

You can directly run the following on your system (if you have GIT
installed):
git clone git://git.code.sf.net/p/trousers/trousers trousers-trousers


Vicky
Post by 张方宇
Hello!
I want to install trousers on Fedora 23.
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0x402): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0x61d): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0x81a): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0xa01): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o): In function
tcsps.c:(.text+0xd19): undefined reference to `read_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o):tcsps.c:(.text+0xf5b): more
undefined references to `read_data' follow
tcsps.c:(.text+0x173a): undefined reference to `write_data'
tcsps.c:(.text+0x175f): undefined reference to `write_data'
tcsps.c:(.text+0x1782): undefined reference to `write_data'
tcsps.c:(.text+0x17a5): undefined reference to `write_data'
tcsps.c:(.text+0x17cb): undefined reference to `write_data'
../../src/tcs/libtcs.a(libtcs_a-tcsps.o):tcsps.c:(.text+0x17ee): more
undefined references to `write_data' follow
collect2: error: ld returned 1 exit status
Makefile:399: recipe for target 'tcsd' failed
make[2]: *** [tcsd] Error 1
make[2]: Leaving directory '/home/zfyseu/trousers-0.3.13/src/tcsd'
Makefile:358: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/zfyseu/trousers-0.3.13/src'
Makefile:396: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Do you know how to solve it?
Thank you!
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
TrouSerS-users mailing list
https://lists.sourceforge.net/lists/listinfo/trousers-users
Continue reading on narkive:
Loading...