f



Unsatisfied symbols

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I am trying to compile the cluster software from
http://www.csm.ornl.gov/pvm/pvm_home.html on a PA-RISC machine running
HP-UX 11i and GCC version 3.4.2.

It compiles all the code but when it tried to link it dies with the
following output.

ld: Unsatisfied symbol "xdr_int" in file pmsg.o
ld: Unsatisfied symbol "xdr_double" in file pmsg.o
ld: Unsatisfied symbol "xdr_float" in file pmsg.o
ld: Unsatisfied symbol "xdrmem_create" in file pmsg.o
ld: Unsatisfied symbol "xdr_short" in file pmsg.o
ld: Unsatisfied symbol "xdr_long" in file pmsg.o
ld: Unsatisfied symbol "dlclose" in file
/usr/lib/pa20_64/libc.a[nss_deffinder.o]
ld: Unsatisfied symbol "xdr_u_int" in file pmsg.o
ld: Unsatisfied symbol "dlsym" in file
/usr/lib/pa20_64/libc.a[nss_deffinder.o]
ld: Unsatisfied symbol "dlopen" in file
/usr/lib/pa20_64/libc.a[nss_deffinder.o]
ld: Unsatisfied symbol "xdr_u_short" in file pmsg.o
ld: Unsatisfied symbol "xdr_u_long" in file pmsg.o

I assume this is because I am missing a linker flag on the compile
command in the make file but I cannot find what that flag is

Thanks for all your help

- --
Chris Blackburn
E-Mail: cblackburn36NOSPAM@softhome.net	
E-Mail: cblackburn36@NOSPAMgmail.com
PGP Public Key: http://makeashorterlink.com/?C2AF31929
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB0o3JxsNEmi5WofsRAoNoAKC5Vrlmo4OK76fiqu7uS0b0q3lOBQCfeo2a
jKbOYYv8xZYv1WNYXwk45M0=
=F14b
-----END PGP SIGNATURE-----
0
Chris
12/29/2004 10:58:17 AM
comp.sys.hp.hpux 4408 articles. 1 followers. dewi.bening (7) is leader. Post Follow

3 Replies
1314 Views

Similar Articles

[PageSpeed] 40

Chris Blackburn <cblackburn36NOSPAMPLS@softhome.net> writes:

> ld: Unsatisfied symbol "xdr_int" in file pmsg.o

> I assume this is because I am missing a linker flag on the compile
> command in the make file but I cannot find what that flag is

You are not missing a flag. You are missing a library. 
Add -lrpcsvc to the end of your *link* line.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
0
Paul
12/29/2004 4:08:11 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Pluzhnikov wrote:
|
| You are not missing a flag. You are missing a library.
| Add -lrpcsvc to the end of your *link* line.
|

First of all, thanks that fixed most of the problems, now I'm down to
just 3 :). Can you tell me what I need to link for these?

ld: Unsatisfied symbol "dlclose" in file /usr/lib/pa20_64/libnsl.1
ld: Unsatisfied symbol "dlsym" in file /usr/lib/pa20_64/libnsl.1
ld: Unsatisfied symbol "dlopen" in file /usr/lib/pa20_64/libnsl.1

Thanks again

- --
Chris Blackburn
E-Mail: cblackburn36NOSPAM@softhome.net	
E-Mail: cblackburn36@NOSPAMgmail.com
PGP Public Key: http://makeashorterlink.com/?C2AF31929
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB0u/pxsNEmi5WofsRArfxAJ9LGgQu20DzUMZlwsrPEypO7jvrwQCg5NCt
Rmra4F1qAFdmt0IpBZHUPZI=
=pRgw
-----END PGP SIGNATURE-----
0
Chris
12/29/2004 5:56:57 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chris Blackburn wrote:
| Paul Pluzhnikov wrote:
| |
| | You are not missing a flag. You are missing a library.
| | Add -lrpcsvc to the end of your *link* line.
| |
|
| First of all, thanks that fixed most of the problems, now I'm down to
| just 3 :). Can you tell me what I need to link for these?
|
| ld: Unsatisfied symbol "dlclose" in file /usr/lib/pa20_64/libnsl.1
| ld: Unsatisfied symbol "dlsym" in file /usr/lib/pa20_64/libnsl.1
| ld: Unsatisfied symbol "dlopen" in file /usr/lib/pa20_64/libnsl.1
|
| Thanks again
|

Dont worry, I found it -ldl

Thanks

- --
Chris Blackburn
E-Mail: cblackburn36NOSPAM@softhome.net	
E-Mail: cblackburn36@NOSPAMgmail.com
PGP Public Key: http://makeashorterlink.com/?C2AF31929
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFB0vFKxsNEmi5WofsRAjfCAJwKPmISwOqSFIU6SATzjn6c8xsttwCgkeXD
4WwueJHM+D2X0afkad3Wpd8=
=003P
-----END PGP SIGNATURE-----
0
Chris
12/29/2004 6:02:50 PM
Reply: