Those might be linker errors. Are you linking to the PVFS2 library?

 

Like:

gcc . myprog.c -L/usr/local/orangefs/lib -lpvfs2

 

-- Sam

 

From: [email protected]
[mailto:[email protected]] 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

 

 

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to