I am running into a problem with argp.h:
I've installed devel/argp-standalone from ports so that the argp.h file is included.
I'm not sure what the error message means. I looked in argp.h and I see that the functions are defined. Do I need to do something else?
Code:
server.o: In function `parse_opt':
/root/pushpoold/work/jgarzik-pushpool-4d959b8/server.c:142: undefined reference to `argp_usage'
/root/pushpoold/work/jgarzik-pushpool-4d959b8/server.c:125: undefined reference to `argp_usage'
server.o: In function `main':
/root/pushpoold/work/jgarzik-pushpool-4d959b8/server.c:1206: undefined reference to `argp_parse'
*** Error code 1
I've installed devel/argp-standalone from ports so that the argp.h file is included.
I'm not sure what the error message means. I looked in argp.h and I see that the functions are defined. Do I need to do something else?