|
From: Joel B. J. <joe...@gm...> - 2008-09-18 17:37:51
|
I have written a simple yaml parser to read a yaml file in C, but whenever I compile it, it gives me the following errors, undefined reference to `yaml_parser_initialize' undefined reference to `yaml_parser_set_input_file' undefined reference to `yaml_parser_parse' undefined reference to `yaml_event_delete' undefined reference to `yaml_parser_delete' undefined reference to `yaml_parser_delete' collect2: ld returned 1 exit status I have followed everything in the example and included <yaml.h> in my source, how do I fix this? I'm using GCC 4.3.2, Ubuntu Intrepid. -- "It is not the things we do in life that we regret, on our deathbed, it is the things we do not. Find your passions, and follow it, and if there's anything I have learned in my life, you will not find those passions in things, and you will not find those passion in money. Because the more things and money you have, the more you will just look around and use that as a metric, there will always be someone with more. That passions will be grounded in people. And it would be grounded in relationships you have with people and what they think of you, when your time comes." - Randy Pausch |