[etherlab-dev] Error: field ‘tx_queue_sem’ has incomplete type

Stefan Agner stefan.agner at yahoo.com
Mon Jul 12 11:00:27 CEST 2010


I tried to compile todays trunk and get this message:

In file included from /root/ethercat-default/master/master.c:53:
/root/ethercat-default/master/ethernet.h:95: error: field ‘tx_queue_sem’ has 
incomplete type

I could fix it by include semaphore.h. Patch is attached.

StefanAttach files more easily

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sem-incomplete-type-fix.patch
Type: application/octet-stream
Size: 298 bytes
Desc: not available
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20100712/b89c0b7e/attachment.obj>

More information about the etherlab-dev mailing list