compiling GC on Solaris 9

pjama pjama at optusnet.com.au
Tue Jul 11 17:38:09 EDT 2006



Derek Atkins wrote:
> Quoting pjama <pjama at optusnet.com.au>:
> 
>> I've stumbled my way through configure and a long way into compiling 
>> only to be stumped with:
>>
>> /opt/csw/gcc3/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. 
>> -I../.. -I -I../../src -I../../src/gnc-module -I../../src/calculation
> [snip]
>> gfec.h:13:28: guile-mappings.h: No such file or directory
>> gfec.c: In function `gfec_catcher':
>> gfec.c:31: warning: implicit declaration of function `SCM_PROCEDUREP'
>> gmake[5]: *** [gfec.lo] Error 1
>> gmake[5]: Leaving directory 
>> `/opt/distribs/packages/devel/gnucash/gnucash-2.0.0/src/app-utils'
> 
> I must admit that I haven't had the chance to really test 1.9/2.0 on
> Solaris, but this particular error is very weird.  guile-mappings.h is
> in ${top_srcdir}/src, so the -I../../src (which exists above) should
> find guile-mappings.h...   So..   This is particularly weird.
> 
> I wish I could help more, but I have no idea why it's not finding this 
> file.
> 
> -derek

OK, I've removed the "-I " (ie include with no parameters) which seems to fix the problem where it couldn't fine guile-mappings. I had a few of these at various spots during the compile... need to look at configure flags I think. However the other warning still remains:

#  /opt/csw/gcc3/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I../../src/gnc-module -I../../src/calculation -I../../src/core-utils -I../../src/engine -I /opt/csw/include/g-wrap -D_REENTRANT -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I../../lib/libqof/qof -I../../lib/libqof/qof -D_REENTRANT -DORBIT2=1 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include -I/opt/csw/include/orbit-2.0 -I/opt/csw/include/gconf/2 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/cairo -I/opt/csw/include/pango-1.0 -I/opt/csw/include/gtk-2.0 -I/opt/csw/include/atk-1.0 -I/opt/csw/lib/gtk-2.0/include -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -MT gfec.lo -MD -MP -MF .deps/gfec.Tpo -c gfec.c  -fPIC -DPIC -o .libs/gfec.o
In file included from gfec.c:12:
../../config.h:434:1: warning: "_FILE_OFFSET_BITS" redefined
In file included from /usr/include/iso/string_iso.h:31,
                 from /usr/include/string.h:18,
                 from gfec.c:10:
/usr/include/sys/feature_tests.h:96:1: warning: this is the location of the previous definition
# 


More information about the gnucash-user mailing list