Robby Workman | 9 Aug 2009 19:40

Re: Gmrun build errors

On Sun, 9 Aug 2009 18:22:52 +0100
Laurence Darby <ldarby <at> tuffmail.com> wrote:

> Morten Juhl-Johansen Zölde-Fejér wrote:
> 
> > Dear all,
> > A request for an eye from those wiser than me.
> > I was building Gmrun on Slackware-current to use with Openbox, but
> > I get the errors indicated in this file:
> > http://syntaktisk.dk/files/gmrun_output
> > I am guessing I am missing something. Any pointers?
> 
> 
> I saw a similar problem a few of days ago, looks like the newer
> gcc's are being more strict.  The source code needed to be updated to
> have:
> 
> #include <cstring>
> 
> Hope that helps

If it doesn't, then include string.h in gtkcompletionline.cc and
that should fix it.

For future reference, "man strlen" or "man strcmp" (using a few of
the missing declarations) will show you that string.h is the missing
include  :-)

-RW
_______________________________________________
slackware mailing list
slackware <at> mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/slackware

Gmane