[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnunet] Compilation error
From: |
Christian Grothoff |
Subject: |
Re: [Help-gnunet] Compilation error |
Date: |
Mon, 28 Jun 2004 11:23:49 +0530 |
User-agent: |
KMail/1.5 |
Looks like your C compiler is a bit more sensitive than what I'm using these
days. The following patch (moving two lines down a bit) should resolve the
problem:
===================================================================
RCS file: /home/cvs/GNUnet/GNUnet/src/applications/afs/tools/gnunet-insert.c,v
retrieving revision 1.100
diff -c -r1.100 gnunet-insert.c
*** gnunet-insert.c 19 May 2004 06:11:45 -0000 1.100
--- gnunet-insert.c 28 Jun 2004 05:49:02 -0000
***************
*** 443,452 ****
EXTRACTOR_ExtractorList * l;
l = getExtractors();
for (c=GNoptind;c<argc;c++) {
- printf("Keywords for file %s:\n",
- argv[c]);
EXTRACTOR_KeywordList * list
= EXTRACTOR_getKeywords(l, argv[c]);
EXTRACTOR_printKeywords(stdout,
list);
EXTRACTOR_freeKeywords(list);
--- 443,452 ----
EXTRACTOR_ExtractorList * l;
l = getExtractors();
for (c=GNoptind;c<argc;c++) {
EXTRACTOR_KeywordList * list
= EXTRACTOR_getKeywords(l, argv[c]);
+ printf("Keywords for file %s:\n",
+ argv[c]);
EXTRACTOR_printKeywords(stdout,
list);
EXTRACTOR_freeKeywords(list);
I've fixed this in CVS, too.
Christian
On Sunday 27 Jun 2004 5:30 pm, Yannick wrote:
> Hi,
>
> I cannot compile GNUnet-0.6.2b :
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/include
> -fno-strict-aliasing -Wall -g -O2 -c `test -f 'gnunet-insert.c' || echo
> './'`gnunet-insert.c
> gnunet-insert.c: In function `parseOptions':
> gnunet-insert.c:448: parse error before `*'
> gnunet-insert.c:451: `list' undeclared (first use in this function)
> gnunet-insert.c:451: (Each undeclared identifier is reported only once
> gnunet-insert.c:451: for each function it appears in.)
> make[5]: *** [gnunet-insert.o] Erreur 1
> make[5]: quittant le répertoire
> « /home/.../install/gnunet/GNUnet-0.6.2b/src/applications/afs/tools »
> make[4]: *** [all-recursive] Erreur 1
> make[4]: quittant le répertoire
> « /home/.../install/gnunet/GNUnet-0.6.2b/src/applications/afs »
> make[3]: *** [all-recursive] Erreur 1
> make[3]: quittant le répertoire
> « /home/.../install/gnunet/GNUnet-0.6.2b/src/applications »
> make[2]: *** [all-recursive] Erreur 1
> make[2]: quittant le répertoire «
> /home/.../install/gnunet/GNUnet-0.6.2b/src » make[1]: *** [all-recursive]
> Erreur 1
> make[1]: quittant le répertoire « /home/.../install/gnunet/GNUnet-0.6.2b »
> make: *** [all] Erreur 2
> zsh: exit 2 make
>
> Details about my config :
> % uname -a
> Linux debian 2.4.22 #1 mer nov 12 19:18:13 CET 2003 i686 unknown
> % gcc --version
> 2.95.4
>
> Any idea to fix this ?
>
> Thanks for your attention,
> Regards,
> Yannick
>
>
> _______________________________________________
> Help-gnunet mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-gnunet