>      I am using parted.h but the functions are not being
>  included . It says undefined refernce to function.What do I do?

The libparted library is not part of the standard C library. Therefore you
have to specify it explicitly to GCC so that it can link it.

Try something like:
$ gcc foo.c -o foo -lparted

For details see the various Makefile.am in the Parted sources.

Happy hacking,
Debarshi
-- 
husband    v. use sparingly; conserve; save
husbandry  n. frugality; thrift; agriculture

Attachment: pgpvfIwimxUmv.pgp
Description: PGP signature

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to