After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 169332 - compile failes in libgnome/gnome-program.c
compile failes in libgnome/gnome-program.c
Status: RESOLVED DUPLICATE of bug 168387
Product: libgnome
Classification: Deprecated
Component: general
2.8.x
Other Linux
: Normal blocker
: ---
Assigned To: libgnome maintainer
libgnome maintainer
Depends on:
Blocks:
 
 
Reported: 2005-03-05 21:33 UTC by albrecht.dress
Modified: 2005-03-05 21:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description albrecht.dress 2005-03-05 21:33:06 UTC
Version details: 2.8.3
Distribution/Version: YellowDog 4.0

Building libgnome (from Gnome 2.8.3) failes with

ib/glib-2.0/include -I/opt/gnome-2.8/include/gnome-vfs-2.0
-I/opt/gnome-2.8/lib/gnome-vfs-2.0/include
-I/opt/gnome-2.8/include/bonobo-activation-2.0
-I/opt/gnome-2.8/include/libbonobo-2.0 -I/opt/gnome-2.8/include/gconf/2
-I/opt/gnome-2.8/include/orbit-2.0 -I/opt/gnome-2.8/include
-DG_DISABLE_DEPRECATED -DLIBGNOME_PREFIX=\"/opt/gnome-2.8\"
-DLIBGNOME_LIBDIR=\"/opt/gnome-2.8/lib\"
-DLIBGNOME_DATADIR=\"/opt/gnome-2.8/share\"
-DLIBGNOME_BINDIR=\"/opt/gnome-2.8/bin\"
-DLIBGNOME_LOCALSTATEDIR=\"/opt/gnome-2.8/var\"
-DLIBGNOME_SYSCONFDIR=\"/opt/gnome-2.8/etc\" -DVERSION=\"2.8.1\"
-DGNOMEVFSVERSION=\"2.8.4\" -DG_LOG_DOMAIN=\"Gnome\" -O3 -fsigned-char -MT
gnome-program.lo -MD -MP -MF .deps/gnome-program.Tpo -c gnome-program.c  -fPIC
-DPIC -o .libs/gnome-program.o
gnome-program.c: In function `gnome_program_init_paramv':
gnome-program.c:1931: error: invalid initializer

The offending line contains the statement

    va_list args = 0;

My build environment:
- PowerMac G4/Silver
- Linux 2.6.10, Disto YellowDog 4 (basically FC 2)
- gcc 3.3.3
- glibc-2.3.3
Comment 1 Richard Hoelscher 2005-03-05 21:58:32 UTC
Thanks for the bug report. This particular bug has already been reported into
our bug tracking system, but please feel free to report any further bugs you find.

See Bug #168387 for more information.



*** This bug has been marked as a duplicate of 168387 ***