Hi:

after commit 93c18664 owfs-code is broken on on my debian wheezy system (debian version 7.6).

Linking fails with the following message:

/home/admin/dev/owfs-code/module/owlib/src/c/.libs/libow.so: undefined reference to `mq_getattr'

I was able to solve this by adding

AC_CHECK_LIB([rt],[mq_getattr])

in configure.ac but please double check if this solution is valid, since I do not understand very well the whole systemd thing.

Other problems: I do not understand the src/scripts/systemd/Makefile.am logic: it simply mimics (in an incomplete and error prone way) the standard autoconf/automake semantics. An empty Makefile.am will do the same job provided that 

src/scripts/systemd/owfs.service
src/scripts/systemd/owftpd.service
src/scripts/systemd/owhttpd.service
src/scripts/systemd/owserver.service
src/scripts/systemd/owserver.socket

are listed among the AC_CONFIG_FILES in configure.ac.

Finally I noticed that src/include/config.h.in is included in the git source tree, but this is not correct, since this file is built by autoheader during bootstrap.

The suggested corrections are included in the attached patch file.

Stefano

Attachment: 0001-add-check-for-librt-mq_getattr-function-and-clean-ma.patch
Description: Binary data

------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to