Include prototypes at the top of the file: extern char *dlerror(void);extern int dlclose(void *);extern void *dlsym(void *, const char *);extern void *dlopen(const char *, int);