[Glade-users] glade 2.0-make all recursive error(desperatelyask for help)



HI, Damon,
thanks for your reply. at least it gives me some confidence.
yes, you are right, the header fills are part of the problem and i have 
just figured it out.
but since my time is quite tight to reading the autoconf info pages, i just 
add their file directory in the makefile of 'src 'folder.  
does to modify the makefile a proper way for these problem?
but that's not over, the program pumps new errors. from my judgement, it is 
the problem the linker file. so i added in the header 'comedi.h' , -lcomedi 
and the comedi library.  ____doesn't work.

/root/Projects/wheelchair/src/callbacks.c:441: undefined reference to 
`comedi_errno'
callbacks.o(.text+0xfd8):/root/Projects/wheelchair/src/callbacks.c:441: 
undefined reference to `comedi_strerror'
callbacks.o(.text+0x100c):/root/Projects/wheelchair/src/callbacks.c:434: 
undefined reference to `comedi_errno'
 


one more question refer to your answer to my second program. 
>That looks OK. It looks like the project is already built so doesn't
>need to be compiled again.

if it's ok,  why i can't find the .executable file? what i am really 
suprised is that reality that when i made changes on one glade project, all 
the other projects (which were working properly) can not 'make'.
i am new to linux and glade. to evaluate this problem in 'windows os'  way, 
seems impossible!

thanks very much for your very instructive reply,
ZQ

>From: Damon Chaplin <damon karuna uklinux net>
>To: zeng qiang <zengqianghit hotmail com>
>CC: glade-users lists ximian com
>Subject: Re: [Glade-users] glade 2.0-make all recursive 
error(desperatelyask for help)
>Date: Tue, 02 Nov 2004 12:23:31 +0000
>
>On Tue, 2004-11-02 at 05:54, zeng qiang wrote:
> > HI, all,
> > I wonder if anyone could encounter this problem before.
> > I am using glade.2.0 on redhatlinux 9.0. previously the glade 
workds very
> > well.
> > seems after i have modified some of its linking files, i get the 
error
> > below.
> >
> > below is my running result:
> >
> > [root@localhost wheelchair]# make
> > make  all-recursive
> > make[1]: Entering directory `/root/Projects/wheelchair'
> > Making all in src
> > make[2]: Entering directory `/root/Projects/wheelchair/src'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory `/root/Projects/wheelchair/src'
> > Making all in po
> > make[2]: Entering directory `/root/Projects/wheelchair/po'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory `/root/Projects/wheelchair/po'
> > make[2]: Entering directory `/root/Projects/wheelchair'
> > make[2]: Leaving directory `/root/Projects/wheelchair'
> > make[1]: Leaving directory `/root/Projects/wheelchair'
>
>That looks OK. It looks like the project is already built so doesn't
>need to be compiled again.
>
>
>
>
> > wheelchairLXRTthreadsInter.c:34:79: rtai_lxrt_user.h: No such 
file or
> > directory
> > wheelchairLXRTthreadsInter.c:35:81: rtai_lxrt.h: No such file or 
directory
> > wheelchairLXRTthreadsInter.c:36:77: rtai_comedi_lxrt.h: No such 
file or
> > directory
>
>Where are these header files installed?
>
>You need to change the project's configure.in file so that these header
>files are found and added to the compiler flags. See the autoconf info
>pages, e.g. AC_CHECK_HEADER().
>
>Damon
>
>
>_______________________________________________
>Glade-users maillist  -  Glade-users lists ximian com
>http://lists.ximian.com/mailman/listinfo/glade-users

_________________________________________________________________
�������������ĵ����ʼ�ϵͳ�� MSN Hotmail��  
http://www.hotmail.com  





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]