Re: Including rlib in my own program fails to compile
Bob Doan <[email protected]> Tue, 19 Jul 2005 10:33:57 -0400
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <[email protected]> |
You need to compile w/ the correct cflags so include this: `pkg-config --cflags --libs rlib` - bob On Sun, 2005-07-17 at 19:18 -0600, Alfredo Cole wrote: > Hi: > > Compiling the test programs works ok on my SuSE 9.3 system. However, if I > include rlib.h and rlib_input in my own program, I get the following errors: > > /usr/include/rlib/rlib.h:739: error: declaration does not declare anything > > /usr/include/rlib/rlib_input.h:41: error: declaration does not declare > anything > > I think it might be a switch I'm missing, but looking at the makefile used by > the test programs, I can not figure out what I need. Anybody have a > suggestion to make it compile right? > > I'm using gcc 3.3.5 and glibc 2.3.4. > > Thank you and regards. > ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click