timmerk / nfc-tools

Automatically exported from code.google.com/p/nfc-tools
0 stars 0 forks source link

Compile libnfc-llcp on MacOS X 10.7 #75

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cd libnfc-llcp
2. ./configure
3. make

What is the expected output? What do you see instead?
MacBook-Pro$ make
make  all-recursive
Making all in doc
make[2]: Nothing to be done for `all'.
Making all in libnfc-llcp
  CC     llcp.lo
llcp.c:30:20: error: mqueue.h: No such file or directory
In file included from llcp.c:36:
llc_link.h:45: error: expected specifier-qualifier-list before 'mqd_t'
llc_link.h:58: warning: 'struct llc_service' declared inside parameter list
llc_link.h:58: warning: its scope is only this definition or declaration, which 
is probably not what you want
make[2]: *** [llcp.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Latest (2011/7/28) nfc-tools library. Libnfc v.1.4.2. MacOS X Lion 10.7

Please provide any additional information below.
My system is missing the required header mqueue.h
It is part of glibc.

Original issue reported on code.google.com by roberto....@gmail.com on 28 Jul 2011 at 1:39

GoogleCodeExporter commented 9 years ago
Could you retry with latest revision of libnfc and latest revision of 
libnfc-llcp, please ?

This should work.

Original comment by romu...@libnfc.org on 12 Sep 2011 at 10:58

GoogleCodeExporter commented 9 years ago
mqueue.h is a requierement for libnfc-llcp. What do you suggest to fix this 
issue ?

Original comment by romu...@libnfc.org on 19 Oct 2011 at 12:08

GoogleCodeExporter commented 9 years ago
OS X does not support POSIX message queues. The System V (msg.h) ones are 
available instead. I'm not sure though how much work is necessary to support 
both types in libnfc-llcp.

Original comment by heiko.wi...@gmail.com on 19 Oct 2011 at 7:33

GoogleCodeExporter commented 9 years ago
On Mac OS X the error is now at the ./configure step:
checking mqueue.h usability... no
checking mqueue.h presence... no
checking for mqueue.h... no
configure: error: mqueue.h is requiered.

Original comment by ludovic....@gmail.com on 18 May 2012 at 5:00

GoogleCodeExporter commented 9 years ago
LLCP library does now have its own repo:
https://code.google.com/p/libllcp/

Please give a try to socket branch, then report issues on dedicated repo.

Thanks!

Original comment by romu...@libnfc.org on 24 Feb 2014 at 5:33