On Friday 17 August 2007 01:41, Allan Black wrote:
> I had to add another #undef in the 'Super kludge for GNOME 2.0'
> section :-) of console.h to get it to compile under Solaris
> Nevada build 66, which has Gnome 2.18.0.
>
> I have compiled this on earlier builds without problems, but I
> haven't compiled it for a while, so Gnome 2.16 may have the same
> problem - I'm not sure.
>
> The problem is, baconfig.h contains:
>
>       #define bindtextdomain(p, d)
>
> which results in the following line from /usr/include/libintl.h:
>
>       extern char *bindtextdomain(const char *, const char *);
>
> being turned into:
>
>       extern char *;
>
> .... which is not really very good if you want the code to
> compile :-)

I don't doubt that the change fixes your problem, but it really does not make 
much sense, because the Bacula code you are referencing is only enabled when 
internationalization is turned off, and in that case, no code should be 
including libintl.h unless it is broken.

The proper fix lies in finding out what code (Bacula or Gnome) is incorrectly 
pulling that file in and fixing it.

Regards,

Kern

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to