- From: Fei Chu <kelvinchufei_at_gmail.com>
- Date: Wed, 10 Jan 2007 19:37:34 -0600
Hi, Thanks for the reply. The real trouble is not about the code but how to compile corresponding source code directly (not with the "big" Makefile in demo but do it in console). I just cannot understand the sentences about compilation in "Makefile", which relates to a lot of linkers or headers I think. For example, like I write some codes very similar to demo/cmd.c, then I need to compile it. I copied the all header files from demo to my directory(like example.h), then how can I compile it? If I couldn't relate them to proper headers or libs, it will not run properly. Any idea? Thanks. Kelvin On 1/10/07, Frank Mori Hess <fmhess_at_speakeasy.net> wrote: > > On Wednesday 10 January 2007 06:57 pm, Fei Chu wrote: > > Hi, I have a problem with sample program 3 > > But when compiling with "cc my3.c -lcomedi -lm -o my3", > > > > it returns the error: > > > > > > > > Does any one have a idea about this? > > > > You'll have to ignore those sample programs in the documentation. They're > broken and out of date. Look directly at the programs in comedilib/demo > instead. > > -- > Frank > > > >
Received on 2007-01-11Z01:37:34