[Pvfs2-users] Error : undefined reference
sampson at omnibond.com
Thu Feb 16 11:02:33 EST 2012
Those might be linker errors. Are you linking to the PVFS2 library?
gcc . myprog.c -L/usr/local/orangefs/lib -lpvfs2
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
Subject: [Pvfs2-users] Error : undefined reference to
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...
More information about the Pvfs2-users