*** DISCLAIMER: The information on these pages is not an official instruction or documentation. No responsibility will be taken. Use at your own risk. ***

Thursday, July 20, 2017

libgen.h missing / undefined reference to basename() and/or dirname()

Possible reasons:
- libgen.h missing
- functions basename() and/or dirname() not available


Solution:
- drop/remove #include <libgen.h>
- implement functions basename() and/or dirname()
https://linux.die.net/man/3/dirname

or

- get latest ADE (GG/geekgadgets) from AmiNet
http://aminet.net/package/dev/gcc/ADE

No comments:

Post a Comment

Your comment will published after it has been reviewed.