[Pvfs2-users] Error : undefined reference
to `PVFS_util_init_defaults'
Sam Sampson
sampson at omnibond.com
Thu Feb 16 11:02:33 EST 2012
Those might be linker errors. Are you linking to the PVFS2 library?
Like:
gcc . myprog.c -L/usr/local/orangefs/lib -lpvfs2
-- Sam
From: pvfs2-users-bounces at beowulf-underground.org
[mailto:pvfs2-users-bounces at beowulf-underground.org] On Behalf Of g_p g_p
Sent: Wednesday, February 15, 2012 2:57 PM
To: pvfs2
Subject: [Pvfs2-users] Error : undefined reference to
`PVFS_util_init_defaults'
Hello,
i'm trying to compile a .c program in pvfs2.
The problem is that many functions are not defined
undefined reference to `PVFS_util_init_defaults'
undefined reference to `PVFS_perror'
undefined reference to `PINT_get_base_dir'
undefined reference to `PINT_string_count_segments'
undefined reference to `PINT_get_path_element'
undefined reference to `PVFS_util_resolve'
i have included the directories where the .h files are,
but still the program is not compiled.
Is there any other way to include the header files?
Thanks, in advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20120216/b2215dce/attachment.htm
More information about the Pvfs2-users
mailing list