Oaf-0.6.5 compile errors. No oaf-factory.h, ...



Hi,

Thanks for looking at this.

oaf.h:17: liboaf/oaf-factory.h: No such file or directory

is my problem.   I don't think the file was made during the gmake.

Here's my setup:

Oaf-0.6.5
ORBit-0.5.7
popt-1.2
gcc 2.95.2.1
gnu make 3.79.1
libtool-1.3.5

i586-sco-sysv5uw7.1.1


./configure --x-libraries=/usr/X/lib --x-includes=/usr/X/include \
--with-gnu-ld --enable-oaf-debug=yes

----------------------------------------------------------------------------
gmake[2]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5/idl'
Making all in liboaf
gmake[2]: Entering directory `/home/matthew/Uber/Gnome/oaf-0.6.5/liboaf'
/usr/local/bin/orbit-idl -I../idl --define=OAF_COMPILATION ../idl/oaf.idl
../idl/oaf-factory.idl:24: Warning: `obj_oaf_id' underscores within identifiers
are discouraged for use with C-language IDL mappings
touch stamp-idl
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I.. -I../liboaf -I../liboaf -DOAF_LOCALEDIR=\""/usr/local/share/locale"\"   -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/local/include  -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include 
-DVERSION=\"0.6.5\"  -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith  -Werror
-g -O2 -Wsign-promo -Wno-sign-compare -c oaf-stubs.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../liboaf -I../liboaf -DOAF_LOCALEDIR=\"/usr/local/share/locale\"
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -DVERSION=\"0.6.5\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Werror -g -O2 -Wsign-promo
 -Wno-sign-compare -c oaf-stubs.c  -fPIC -DPIC -o oaf-stubs.lo
In file included from oaf-stubs.c:6:
oaf.h:17: liboaf/oaf-factory.h: No such file or directory
gmake[2]: *** [oaf-stubs.lo] Error 1
gmake[2]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5/liboaf'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5'
gmake: *** [all-recursive-am] Error 2
-----------------------------------------------------------------------------



So I figured out that I could cd into the liboaf directory and type

      gmake oaf-factory.h

and that worked.

Then I cd'd back to the root oaf-0.6.5 directory and continued the gmake.
Here's my next error:

oaf-mainloop.c:189: `POPT_ARG_INTL_DOMAIN' undeclared here (not in a function)

Here's the details........


----------------------------------------------------------------------------
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../liboaf -I../liboaf
-DOAF_LOCALEDIR=\""/usr/local/share/locale"\"   -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -DVERSION=\"0.6.5\" -Wall -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith    -Werror -g -O2 -Wsign-promo -Wno-sign-compare -c oaf-mainloop.c

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../liboaf -I../liboaf -DOAF_LOCALEDIR=\"/usr/local/share/locale\"
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -DVERSION=\"0.6.5\" -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Werror -g -O2 -Wsign-promo -Wno-sign-compare -c oaf-mainloop.c  -fPIC -DPIC -o oaf-mainloop.lo

oaf-mainloop.c:189: `POPT_ARG_INTL_DOMAIN' undeclared here (not in a function)
oaf-mainloop.c:189: initializer element is not constant
oaf-mainloop.c:189: (near initialization for `oaf_popt_options[0].argInfo')
gmake[2]: *** [oaf-mainloop.lo] Error 1
gmake[2]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5/liboaf'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/matthew/Uber/Gnome/oaf-0.6.5'
gmake: *** [all-recursive-am] Error 2
------------------------------------------------------------------------------


Indeed that is not defined in popt.h or anywhere else in popt
as far as I can tell.


If you've read this far, you are too kind.
Thanks for any comments,
Matthew




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