Re: Undefined reference to list module functions

2007-10-27 Thread Bruno Haible
Eric Blake wrote: > the gnulib policy is that must be included first in all .c > files, and never in gnulib's .h files. If you consistently follow this > rule in your projects, then you won't run into problems with inconsistent > parsing of gnulib .h files. Yes. Thanks for saying it so clearly:

Re: Undefined reference to list module functions

2007-10-27 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to iobrain ... on 10/27/2007 11:55 AM: > I answer myself. I missed include config.h at begining of file. However, > I think it could add at begining of gl_list.h, of the same way gl_list.c do! > Thanks anyway and excuse me. No, the gnulib po

Re: Undefined reference to list module functions

2007-10-27 Thread iobrain ...
I answer myself. I missed include config.h at begining of file. However, I think it could add at begining of gl_list.h, of the same way gl_list.c do! Thanks anyway and excuse me. 2007/10/27, iobrain ... <[EMAIL PROTECTED]>: > > Greetings! > > I have several troubles linking my program with libgnu.

Undefined reference to list module functions

2007-10-27 Thread iobrain ...
Greetings! I have several troubles linking my program with libgnu.a. It works nice on some functions but It always fails with list modules functions (as `gl_list_create'). I have made sure that Makefile links correctly. I cannot found good documentation about how to should I build it, so I don't