[Github-comments] [geany/geany-plugins] Added common utils lib (#620)

LarsGit223 notifications at xxxxx
Sun Oct 8 14:41:15 UTC 2017


I am actually struggling with the makefiles. I get the following error message:
```
.libs/workbench_la-wb_project.o: In function `wb_project_dir_rescan_int':
/home/lars/DokuWiki/repos/geany-plugins/workbench/src/wb_project.c:586: undefined reference to `filelist_scan_directory'
collect2: error: ld returned 1 exit status
```
So on linking the workbench plugin lib the function ```filelist_scan_directory()``` is not found by the linker (no surpise). The common utils lib is in directory ```utils/src```.

I tried adding it to the workbench makefile like this:
```
workbench_la_LIBADD = $(COMMONLIBS) ../../utils/src/utils.la
```
That first seemed to work on ```make``` but on ```make install``` I got error messages about failed re-linking of ```workbench.la```. So I removed that change.

That means I need some help with the makefiles please.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/620#issuecomment-335011087
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171008/3048d8cd/attachment.html>


More information about the Github-comments mailing list