km4arr / openpgm

Automatically exported from code.google.com/p/openpgm
0 stars 0 forks source link

pgm_send is hidden and can't be linked against. #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build the library with automake doing the ./configure; make; and sudo make 
install
2. have a function that uses pgm_send
3. try to build that and it fails

What is the expected output? What do you see instead?
I see the linker complain: undefined reference to `pgm_send'

What version of the product are you using? On what operating system?
5.1.115 linux amd64

Please provide any additional information below.

I think the symbol is hidden:
objdump -t /usr/local/lib/libpgm.a | grep pgm_send$
0000000000002e00 g     F .text  00000000000001b3 .hidden pgm_send

In the source code, there PGM_GNUC_INTERNAL decorating the pgm_send function. 
Perhaps it should not be here?

Thanks.

Original issue reported on code.google.com by harrison...@gmail.com on 5 Apr 2011 at 4:14

GoogleCodeExporter commented 9 years ago
That's certainly a bit odd, will investigate affected public APIs.  The 
decoration doesn't affect SCons or CMake based builds.

Original comment by fnjo...@gmail.com on 6 Apr 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Resolved with 5.1.116.  Verified only send calls affected.

Original comment by fnjo...@gmail.com on 6 Apr 2011 at 2:54