On Sat, 2012-06-16 at 16:51 -0400, lloyd wilson wrote:
> I'm trying to compile a new component built as a modification of the 
> homann modio package and can't get the makefile to cooperate; it keeps 
> exiting with a complaint about not finding the comp program.
> 
> The compile environment is healthy; I just did a make of the linuxcnc 
> package without complaint, so I assume that the make environment for 
> modio hasn't kept up with the evolution of the overall system.
> 
> Has anyone encountered a similar issue & found the magic to get the 
> compile system to cooperate?
> 
> thanks
> 
> ldw

The first things that come to mind are, these files

homann_modio.c or other custom modio.c
Makefile
modbus.c
modbus.h
findbindir
find-libdir
find-modinc

all need to be in the same directory. You need to run make from the same
directory. The find series of files need to be executable. I recall
modbus.c and modbus.h are from a 2.? release of libmodbus which is now
up to rev. 3.0.3. and not compatible.

The sample set of files uses a component, conv_u32_bits, which converts
a u32 word to separate bit pins. The component needs to be built with
the comp program to get the sample to work.

I think the sample files where used with EMC 2.4 with Ubuntu 8.04 so
other versions might have issues. I may have the the ModIO sample
working on LinuxCNC 2.5 / Ubuntu 10.4 on one of my PC's, but I would
need to check to make sure.

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to