Re: [g-a-devel] Gnopernicus 1.0 compilation problem
- From: Nath <nath ml free fr>
- To: remus draica <rd baum ro>
- Cc: ML gnome-accessibility-devel <gnome-accessibility-devel gnome org>
- Subject: Re: [g-a-devel] Gnopernicus 1.0 compilation problem
- Date: Tue, 10 Jan 2006 16:38:58 +0100
remus draica <rd baum ro> writes:
> On Tue, 2006-01-10 at 11:31, Nath wrote:
>
>
> Hi,
>
Hi Remus,
First, thx for your response.
> Please send me the files with problems:
> /usr/include/glib-2.0/glib/gi18n.h
> /usr/include/libintl.h
>
The tow files are attached to this mail.
> Also send back the results of
> "find / -name glib.h" and
>
/usr/include/glib-2.0/glib.h
> "find / -name gi18n.h".
>
/usr/include/glib-2.0/glib/gi18n.h
> Regards,
>
Thx again for your help !
/* Message catalogs for internationalization.
Copyright (C) 1995-1999, 2000-2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This file is derived from the file libgettext.h in the GNU gettext package.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#ifndef _LIBINTL_H
#define _LIBINTL_H 1
#include <features.h>
/* We define an additional symbol to signal that we use the GNU
implementation of gettext. */
#define __USE_GNU_GETTEXT 1
/* Provide information about the supported file formats. Returns the
maximum minor revision number supported for a given major revision. */
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) \
((major) == 0 ? 1 : -1)
__BEGIN_DECLS
/* Look up MSGID in the current default message catalog for the current
LC_MESSAGES locale. If not found, returns MSGID itself (the default
text). */
extern char *gettext (__const char *__msgid) __THROW;
/* Look up MSGID in the DOMAINNAME message catalog for the current
LC_MESSAGES locale. */
extern char *dgettext (__const char *__domainname, __const char *__msgid)
__THROW;
extern char *__dgettext (__const char *__domainname, __const char *__msgid)
__THROW __attribute_format_arg__ (2);
/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
locale. */
extern char *dcgettext (__const char *__domainname,
__const char *__msgid, int __category) __THROW;
extern char *__dcgettext (__const char *__domainname,
__const char *__msgid, int __category)
__THROW __attribute_format_arg__ (2);
/* Similar to `gettext' but select the plural form corresponding to the
number N. */
extern char *ngettext (__const char *__msgid1, __const char *__msgid2,
unsigned long int __n)
__THROW __attribute_format_arg__ (1) __attribute_format_arg__ (2);
/* Similar to `dgettext' but select the plural form corresponding to the
number N. */
extern char *dngettext (__const char *__domainname, __const char *__msgid1,
__const char *__msgid2, unsigned long int __n)
__THROW __attribute_format_arg__ (2) __attribute_format_arg__ (3);
/* Similar to `dcgettext' but select the plural form corresponding to the
number N. */
extern char *dcngettext (__const char *__domainname, __const char *__msgid1,
__const char *__msgid2, unsigned long int __n,
int __category)
__THROW __attribute_format_arg__ (2) __attribute_format_arg__ (3);
/* Set the current default message catalog to DOMAINNAME.
If DOMAINNAME is null, return the current default.
If DOMAINNAME is "", reset to the default of "messages". */
extern char *textdomain (__const char *__domainname) __THROW;
/* Specify that the DOMAINNAME message catalog will be found
in DIRNAME rather than in the system locale data base. */
extern char *bindtextdomain (__const char *__domainname,
__const char *__dirname) __THROW;
/* Specify the character encoding in which the messages from the
DOMAINNAME message catalog will be returned. */
extern char *bind_textdomain_codeset (__const char *__domainname,
__const char *__codeset) __THROW;
/* Optimized version of the function above. */
#if defined __OPTIMIZE__ && !defined __cplusplus
/* We need NULL for `gettext'. */
# define __need_NULL
# include <stddef.h>
/* We need LC_MESSAGES for `dgettext'. */
# include <locale.h>
/* These must be macros. Inlined functions are useless because the
`__builtin_constant_p' predicate in dcgettext would always return
false. */
# define gettext(msgid) dgettext (NULL, msgid)
# define dgettext(domainname, msgid) \
dcgettext (domainname, msgid, LC_MESSAGES)
# define ngettext(msgid1, msgid2, n) dngettext (NULL, msgid1, msgid2, n)
# define dngettext(domainname, msgid1, msgid2, n) \
dcngettext (domainname, msgid1, msgid2, n, LC_MESSAGES)
#endif /* Optimizing. */
__END_DECLS
#endif /* libintl.h */
/* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997, 2002 Peter Mattis, Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __G_I18N_H__
#define __G_I18N_H__
#include <glib/gstrfuncs.h>
#include <libintl.h>
#define _(String) gettext (String)
#define Q_(String) g_strip_context ((String), gettext (String))
#ifdef gettext_noop
#define N_(String) gettext_noop (String)
#else
#define N_(String) (String)
#endif
#endif /* __G_I18N_H__ */
> Remus
>
>
>> I forward here a mail I posted yesterday to gnome-accessibility-list
>> regarding a compilation problem with Gnopernicus 1.0. Perhaps here is a
>> better place to ask help regarding this kind of problem.
>>
>> Thx in advance.
>>
>>
>>
>>
>> ______________________________________________________________________
>> From: Nath <nath ml free fr>
>> To: gnome-accessibility-list gnome org
>> Subject: Gnopernicus 1.0 compilation problem
>> Date: Mon, 09 Jan 2006 17:25:05 +0100
>>
>> Hi,
>>
>> I encounter a problem went trying to compile Gnopernicus 1.0 on my
>> Debian system (testing/etch). When I run the "make" command, here is the
>> output I obtain :
>>
>> nvbox:/opt/src/gnopernicus-1.0.0# make
>> make all-recursive
>> make[1]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0 »
>> Making all in po
>> make[2]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/po »
>> make[2]: Rien à faire pour « all ».
>> make[2]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/po »
>> Making all in srutil
>> make[2]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/srutil »
>> make[2]: Rien à faire pour « all ».
>> make[2]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/srutil »
>> Making all in srconf
>> make[2]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/srconf »
>> Making all in libsrconf
>> make[3]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/srconf/libsrconf »
>> make[3]: Rien à faire pour « all ».
>> make[3]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/srconf/libsrconf »
>> Making all in test
>> make[3]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/srconf/test »
>> make[3]: Rien à faire pour « all ».
>> make[3]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/srconf/test »
>> make[3]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/srconf »
>> make[3]: Rien à faire pour « all-am ».
>> make[3]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/srconf »
>> make[2]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/srconf »
>> Making all in braille
>> make[2]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/braille »
>> Making all in libbrl
>> make[3]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/braille/libbrl »
>> make[3]: Rien à faire pour « all ».
>> make[3]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/braille/libbrl »
>> Making all in test
>> make[3]: entrant dans le répertoire « /opt/src/gnopernicus-1.0.0/braille/test »
>> if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../libbrl -I../../srutil -I../../srconf/libsrconf -I. -DINET6 -DGNOPERNICUSLOCALEDIR=\""/opt/gnopernicus//locale"\" -DORBIT2=1 -pthread -DXTHREADS -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/X11R6/include -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"gnopernicus\" -g -O2 -MT remote.o -MD -MP -MF ".deps/remote.Tpo" -c -o remote.o remote.c; \
>> then mv -f ".deps/remote.Tpo" ".deps/remote.Po"; else rm -f ".deps/remote.Tpo"; exit 1; fi
>> In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
>> from ../../srutil/srintl.h:26,
>> from remote.c:37:
>> /usr/include/libintl.h:40: error: syntax error before 'const'
>> /usr/include/libintl.h:44: error: syntax error before 'const'
>> /usr/include/libintl.h:51: error: syntax error before 'const'
>> /usr/include/libintl.h:81: error: syntax error before 'const'
>> /usr/include/libintl.h:85: error: syntax error before 'const'
>> /usr/include/libintl.h:90: error: syntax error before 'const'
>> In file included from ../../srutil/srintl.h:26,
>> from remote.c:37:
>> /usr/include/glib-2.0/glib/gi18n.h:25:1: warning: "_" redefined
>> In file included from /usr/include/libgnome-2.0/libgnome/gnome-i18n.h:40,
>> from /usr/include/libgnome-2.0/libgnome/libgnome.h:30,
>> from /usr/include/libgnomeui-2.0/gnome.h:5,
>> from remote.c:32:
>> /usr/include/libbonobo-2.0/bonobo/bonobo-i18n.h:69:1: warning: this is the location of the previous definition
>> In file included from remote.c:37:
>> ../../srutil/srintl.h:29:1: warning: "ngettext" redefined
>> In file included from /usr/include/glib-2.0/glib/gi18n.h:23,
>> from ../../srutil/srintl.h:26,
>> from remote.c:37:
>> /usr/include/libintl.h:113:1: warning: this is the location of the previous definition
>> remote.c: In function 'brl_sock_glib_cb':
>> remote.c:244: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
>> make[3]: *** [remote.o] Erreur 1
>> make[3]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/braille/test »
>> make[2]: *** [all-recursive] Erreur 1
>> make[2]: quittant le répertoire « /opt/src/gnopernicus-1.0.0/braille »
>> make[1]: *** [all-recursive] Erreur 1
>> make[1]: quittant le répertoire « /opt/src/gnopernicus-1.0.0 »
>> make: *** [all] Erreur 2
>>
>> Unfortunatly i don't know how to correct this error. I tried with
>> gnopernicus 0.12.0 but same problem.
>>
>> Has someone ever encounter this problem ? I don't know if it's a
>> gnopernicus problem or a problem regarding my system.
>>
>> If you have an idea, please help !
>>
>> Thx in advance,
>>
>>
>>
>> --
>> Nath
>>
>> _______________________________________________
>> gnome-accessibility-list mailing list
>> gnome-accessibility-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-list
>>
>>
>> ______________________________________________________________________
>> --
>> Nath
>>
>> ______________________________________________________________________
>> _______________________________________________
>> Gnome-accessibility-devel mailing list
>> Gnome-accessibility-devel gnome org
>> http://mail.gnome.org/mailman/listinfo/gnome-accessibility-devel
>
>
>
--
Nath
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]