pan-users
[Top][All Lists]
Advanced

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

Re: [Pan-users] Re: Can't compile pan-0.99


From: Nick Walster
Subject: Re: [Pan-users] Re: Can't compile pan-0.99
Date: Sun, 28 May 2006 17:07:14 +0100

On Sun, 28 May 2006 17:04:23 +0200
Artur Jachacy <address@hidden> wrote:

snip
> 
> I have a problem too:
> 
> if g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../..   -mms-bitfields 
> -IC:/msys/1.0/opt/gtk/include/gtk-2.0 
> -IC:/msys/1.0/opt/gtk/lib/gtk-2.0/include 
> -IC:/msys/1.0/opt/gtk/include/atk-1.0 
> -IC:/msys/1.0/opt/gtk/include/cairo 
> -IC:/msys/1.0/opt/gtk/include/pango-1.0 
> -Ic:/devel/dist/cairo-1.0.2/include/cairo 
> -IC:/msys/1.0/opt/gtk/include/glib-2.0 
> -IC:/msys/1.0/opt/gtk/lib/glib-2.0/include 
> -IC:/msys/1.0/opt/gmime/include/gmime-2.0 
> -IC:/msys/1.0/opt/gtk/include/glib-2.0 
> -IC:/msys/1.0/opt/gtk/lib/glib-2.0/include 
> -IC:/msys/1.0/opt/gtk/include/glib-2.0 
> -IC:/msys/1.0/opt/gtk/lib/glib-2.0/include 
> -DPANLOCALEDIR=\""/usr/local//locale"\" -I/c/mingw/include 
> -I/opt/gtk/include -I/opt/pcre/include -I/opt/gmime/include 
> -DWIN32_LEAN_AND_MEAN  -O -Wall -ggdb3 -mms-bitfields -mwin32
> -mwindows -MT url.o -MD -MP -MF ".deps/url.Tpo" -c -o url.o url.cc; \
> then mv -f ".deps/url.Tpo" ".deps/url.Po"; else rm -f
> ".deps/url.Tpo"; exit 1; fi
> url.cc: In function `void pan::pan_url_show(const char*)':
> url.cc:61: error: `_' undeclared (first use this function)
> url.cc:61: error: (Each undeclared identifier is reported only once
> for each function it appears in.)
> make[3]: *** [url.o] Error 1
> make[3]: Leaving directory `/home/Artur/pan-0.99/pan/gui'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/Artur/pan-0.99/pan'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Artur/pan-0.99'
> make: *** [all] Error 2
> 

I'm using Ubuntu and the compile fails for the same reason at line 83.
Looking at the code there is an underscore in between the first opening
brackets. Removing it and trying again results in success, the new line
83 in url.cc being

      Log::add_err_va (("Error spawning browser: %s (Command was:
%s)"), err->message, s.c_str()); g_clear_error (&err);
    }

The line 61 relates to Windows I think so that's why I don't see it. 

When I look at version 0.98 the same underscore is there but it didn't
fail. That said I'm not a programmer!

Regards,

Nick Walster




reply via email to

[Prev in Thread] Current Thread [Next in Thread]