GARNOME and libIDL Compliation Issues



	I seem to be having some problems compiling libIDL. I am using GARNOME
from CVS as of a few minutes ago on Debian GNU/Linux Sid. The version of
libidl0 that is currently installed is 0.8.2-1 and libidl-dev is version
0.8.2-1 as well.

	I have attached my gar.conf.mk configuration file (I'm pretty sure that
I only changed the CFLAGS setting) and the output of the "make install"
procedure.
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
# $Id: gar.conf.mk,v 1.29 2003/03/05 02:13:14 jdub Exp $

# This file contains configuration variables that are global to
# the GAR system.  Users wishing to make a change on a
# per-package basis should edit the category/package/Makefile, or
# specify environment variables on the make command-line.

# Variables that define the default *actions* (rather than just
# default data) of the system will remain in bbc.gar.mk
# (bbc.port.mk)

# Setting this variable will cause the results of your builds to
# be cleaned out after being installed.  Uncomment only if you
# desire this behavior!

# export BUILD_CLEAN = true

# The GARCHIVEDIR is a directory containing cached files. It can be created
# manually, or with 'make garchive' once you've started downloading required
# files (say with 'make paranoid-checksum'. Example:

#GARCHIVEDIR = /home/jdub/src/cvs/gnome/garnome/DOWNLOAD

# These are the standard directory name variables from all GNU
# makefiles.  They're also used by autoconf, and can be adapted
# for a variety of build systems.
# 
# TODO: set $(SYSCONFDIR) and $(LOCALSTATEDIR) to never use
# /usr/etc or /usr/var

DESTIMG ?= main

# Directory config for the "main" image
main_prefix ?= $(HOME)/garnome
main_exec_prefix = $(main_prefix)
main_bindir = $(main_exec_prefix)/bin
main_sbindir = $(main_exec_prefix)/sbin
main_libexecdir = $(main_exec_prefix)/libexec
main_datadir = $(main_prefix)/share
main_sysconfdir = $(main_prefix)/etc
main_sharedstatedir = $(main_prefix)/share
main_localstatedir = $(main_prefix)/var
main_libdir = $(main_exec_prefix)/lib
main_infodir = $(main_prefix)/info
main_lispdir = $(main_prefix)/share/emacs/site-lisp
main_includedir = $(main_prefix)/include
main_mandir = $(main_prefix)/man
main_docdir = $(main_prefix)/share/doc
main_sourcedir = $(main_prefix)/src
main_licensedir = $(main_prefix)/licenses

prefix = $($(DESTIMG)_prefix)
exec_prefix = $($(DESTIMG)_exec_prefix)
bindir = $($(DESTIMG)_bindir)
sbindir = $($(DESTIMG)_sbindir)
libexecdir = $($(DESTIMG)_libexecdir)
datadir = $($(DESTIMG)_datadir)
sysconfdir = $($(DESTIMG)_sysconfdir)
sharedstatedir = $($(DESTIMG)_sharedstatedir)
localstatedir = $($(DESTIMG)_localstatedir)
libdir = $($(DESTIMG)_libdir)
infodir = $($(DESTIMG)_infodir)
lispdir = $($(DESTIMG)_lispdir)
includedir = $($(DESTIMG)_includedir)
mandir = $($(DESTIMG)_mandir)
docdir = $($(DESTIMG)_docdir)
sourcedir = $($(DESTIMG)_sourcedir)
licensedir = $($(DESTIMG)_licensedir)

# the DESTDIR is used at INSTALL TIME ONLY to determine what the
# filesystem root should be.  The BUILD_PREFIX is the prefix that
# usurps the DESTDIR.  It should be considered relative to
# $(DESTDIR).  Thus, if includedir were set to
# $(BUILD_PREFIX)/include, it would expand out at install time
# (BUT NO SOONER) to /tmp/gar/../../tmp/build.  The /../../ at
# the front should be harmless, as .. for / is just / itself.
main_DESTDIR ?=

DESTDIR =

BUILD_PREFIX ?= $(prefix)

# allow us to link to libraries we installed
CPPFLAGS += -I$(DESTDIR)$(includedir) -I$(DESTDIR)/usr/X11R6/include
CFLAGS += -I$(DESTDIR)$(includedir) -I$(DESTDIR)/usr/X11R6/include -L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib
LDFLAGS += -L$(DESTDIR)$(libdir) -L$(DESTDIR)/usr/X11R6/lib
# allow us to use programs we just built
PATH := $(DESTDIR)$(bindir):$(DESTDIR)$(sbindir):$(DESTDIR)$(BUILD_PREFIX)/bin:$(DESTDIR)$(BUILD_PREFIX)/sbin:$(PATH)
LD_LIBRARY_PATH := $(DESTDIR)$(libdir):$(DESTDIR)$(BUILD_PREFIX)/lib:$(LD_LIBRARY_PATH)

# This is for foo-config chaos
PKG_CONFIG_PATH=$(DESTDIR)$(libdir)/pkgconfig/


# Sensible testing defaults
CFLAGS += -Wall -O0 -ggdb -pipe

# Batshit insane optimisations

# Old compiler
#CC = gcc-2.95
#CXX = gcc-2.95
# Intel Pentium Pro and above
#CFLAGS += -malign-functions=4 -mfancy-math-387 -march=pentiumpro

# Bleeding edge compiler
#CC = gcc-3.2
#CXX = g++-3.2
# Athlon XP/MP
#CFLAGS += -falign-functions=4 -mfancy-math-387 -march=athlon-mp
# My iBook
#CFLAGS += -falign-functions=4 -march=750

# ccache, if you've got it - you must set CC and CXX above too!
#CC := ccache $(CC)
#CXX := ccache $(CXX)

# Equalise CFLAGS and CXXFLAGS
CXXFLAGS := $(CFLAGS)

# make these variables available to configure and build scripts
# outside of make's realm.
export DESTDIR prefix exec_prefix bindir sbindir libexecdir datadir sysconfdir 
export sharedstatedir localstatedir libdir infodir lispdir includedir mandir 
export docdir sourcedir
export CC CXX CXXFLAGS
export CPPFLAGS CFLAGS LDFLAGS PATH LD_LIBRARY_PATH LD_PRELOAD
export PKG_CONFIG_PATH CC GARCH

# prepend the local file listing
FILE_SITES = file://$(FILEDIR)/ file://$(GARCHIVEDIR)/

# Extra libs to include with gar.mk
EXTRA_LIBS = gar.ccache.mk
make: Entering directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/meta/gnome-desktop'
[===== NOW BUILDING:	gnome-desktop-1	=====]
	[fetch] complete for gnome-desktop.
	[checksum] complete for gnome-desktop.
	[extract] complete for gnome-desktop.
	[patch] complete for gnome-desktop.
 ==> Building gnome/metacity as a dependency
make[1]: Entering directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/metacity'
[===== NOW BUILDING:	metacity-2.4.34	=====]
	[fetch] complete for metacity.
	[checksum] complete for metacity.
	[extract] complete for metacity.
	[patch] complete for metacity.
 ==> Building gnome/GConf as a dependency
make[2]: Entering directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/GConf'
[===== NOW BUILDING:	GConf-2.2.0	=====]
	[fetch] complete for GConf.
	[checksum] complete for GConf.
	[extract] complete for GConf.
	[patch] complete for GConf.
 ==> Building gnome/ORBit2 as a dependency
make[3]: Entering directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/ORBit2'
[===== NOW BUILDING:	ORBit2-2.6.0	=====]
	[fetch] complete for ORBit2.
	[checksum] complete for ORBit2.
	[extract] complete for ORBit2.
	[patch] complete for ORBit2.
 ==> Building gnome/libIDL as a dependency
make[4]: Entering directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/libIDL'
[===== NOW BUILDING:	libIDL-0.8.0	=====]
	[fetch] complete for libIDL.
	[checksum] complete for libIDL.
	[extract] complete for libIDL.
	[patch] complete for libIDL.
	[configure] complete for libIDL.
 ==> Running make in work/main.d/libIDL-0.8.0
make[5]: Entering directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/libIDL/work/main.d/libIDL-0.8.0'
/bin/sh ./libtool --mode=compile cc -DLIBIDL_VERSION=\"0.8.0\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"\" -DCPP_PROGRAM=\"cc\ -E\" -DYYTEXT_POINTER=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_WCHAR_H=1  -I. -I.  -DYYDEBUG=1                    	-DYYERROR_VERBOSE=1            	-DIDL_LIBRARY                  	-I/home/aew/garnome/include/glib-2.0 -I/home/aew/garnome/lib/glib-2.0/include                 	-DG_LOG_DOMAIN=\"libIDL\"      	-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include  -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -c lexer.c
cc -DLIBIDL_VERSION=\"0.8.0\" -DHAVE_CPP_PIPE_STDIN=1 -DCPP_NOSTDINC=\"\" "-DCPP_PROGRAM=\"cc -E\"" -DYYTEXT_POINTER=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_STDDEF_H=1 -DHAVE_WCHAR_H=1 -I. -I. -DYYDEBUG=1 -DYYERROR_VERBOSE=1 -DIDL_LIBRARY -I/home/aew/garnome/include/glib-2.0 -I/home/aew/garnome/lib/glib-2.0/include -DG_LOG_DOMAIN=\"libIDL\" -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -g -I/home/aew/garnome/include -I/usr/X11R6/include -L/home/aew/garnome/lib -L/usr/X11R6/lib -Wall -O0 -ggdb -pipe -c lexer.c  -fPIC -DPIC -o lexer.lo
<stdout>:2474: warning: no previous prototype for `__IDL_get_lineno'
<stdout>:2483: warning: no previous prototype for `__IDL_get_in'
<stdout>:2491: warning: no previous prototype for `__IDL_get_out'
<stdout>:2499: warning: no previous prototype for `__IDL_get_leng'
<stdout>:2508: warning: no previous prototype for `__IDL_get_text'
<stdout>:2517: warning: no previous prototype for `__IDL_set_lineno'
<stdout>:2529: warning: no previous prototype for `__IDL_set_in'
<stdout>:2534: warning: no previous prototype for `__IDL_set_out'
<stdout>:2539: warning: no previous prototype for `__IDL_get_debug'
<stdout>:2544: warning: no previous prototype for `__IDL_set_debug'
<stdout>:2550: warning: no previous prototype for `__IDL_lex_destroy'
./lexer.l: In function `__IDL_lex_cleanup':
./lexer.l:396: error: `YY_NEW_FILE' undeclared (first use in this function)
./lexer.l:396: error: (Each undeclared identifier is reported only once
./lexer.l:396: error: for each function it appears in.)
./lexer.l: At top level:
<stdout>:1980: warning: `__IDL_unput' defined but not used
make[5]: *** [lexer.lo] Error 1
make[5]: Leaving directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/libIDL/work/main.d/libIDL-0.8.0'
make[4]: *** [build-work/main.d/libIDL-0.8.0/Makefile] Error 2
make[4]: Leaving directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/libIDL'
make[3]: *** [../../gnome/libIDL/cookies/main.d/install] Error 2
make[3]: Leaving directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/ORBit2'
make[2]: *** [../../gnome/ORBit2/cookies/main.d/install] Error 2
make[2]: Leaving directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/GConf'
make[1]: *** [../../gnome/GConf/cookies/main.d/install] Error 2
make[1]: Leaving directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/gnome/metacity'
make: *** [../../gnome/metacity/cookies/main.d/install] Error 2
make: Leaving directory `/home/aew/Projects/GNOME/CVS/GARNOME-TEST-BED/garnome/meta/gnome-desktop'

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]