[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gcmd-dev] Build error CVS
From: |
Piotr Eljasiak |
Subject: |
Re: [gcmd-dev] Build error CVS |
Date: |
Wed, 26 Apr 2006 17:43:35 +0200 |
On Wed, 2006-04-26 at 15:20 +0200, Magnus Stålnacke wrote:
> I just downloaded from CVS (changed autogen.sh to prev. version),
> i was going to take a look at the xml files in /doc/C and try
> to understand them.
>
> It does not compile, make ends with:
>
>
>
> deps/main.Tpo" -c -o main.o main.c; \
> then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
> ".deps/main.Tpo"; exit 1; fi
> main.c: In function `main':
> main.c:93: error: "GNOME_PARAM_GOPTION_CONTEXT" odeklarerad (första
> förekomsten i denna funktionen)
> main.c:93: error: (Varje odeklarerad identifierare rapporteras bara
> main.c:93: error: en gång för varje funktion den finns i.)
> make[3]: *** [main.o] Fel 1
> make[3]: Leaving directory `/home/magnus/build/gnome-commander/src'
> make[2]: *** [all-recursive] Fel 1
> make[2]: Leaving directory `/home/magnus/build/gnome-commander/src'
> make[1]: *** [all-recursive] Fel 1
> make[1]: Leaving directory `/home/magnus/build/gnome-commander'
> make: *** [all] Fel 2
>
GNOME_PARAM_GOPTION_CONTEXT comes from gnome-2.14.0... Yesterday I was
so excited that I got doc framework working at last that I hadn't
checked it for that :o(
Now I have to admit I'm at a loss here - I don't want to add additional
dependencies to gcmd, but on the other hand the alternate is to use
GNOME_PARAM_POPT_TABLE. Unfortunately GNOME docs say:
GNOME_PARAM_POPT_TABLE is deprecated and should not be used in
newly-written code. 2.14. Use GOption argument parsing instead,
with GNOME_PARAM_GOPTION_CONTEXT.
Any suggestions?
Piotr