Compiling 1.8.3 on Solaris 8

Derek Atkins warlord at MIT.EDU
Fri May 23 12:37:09 CDT 2003


Sorry, --disable-error-on-warning (not warnings)

My Bad.

-derek

Charles Gagnon <charlesg at unixrealm.com> writes:

> Even with that flag, I fail on the same place:
> 
> cc1: warnings being treated as errors
> date.c: In function `dateSeparator':
> date.c:643: warning: subscript has type `char'
> date.c: In function `gnc_iso8601_to_timespec':
> date.c:706: warning: subscript has type `char'
> date.c:706: warning: subscript has type `char'
> make[4]: *** [date.lo] Error 1
> 
> On Thu, May 22, 2003 at 03:40:25PM -0400, Derek Atkins wrote:
> > Hmm...  I guess you DO still need to configure with --disable-error-on-warnings
> > 
> > -derek
> > 
> > Charles Gagnon <charlesg at unixrealm.com> writes:
> > 
> > > Thanks for the tips Derek, it got me a little further. I had to use:
> > > 
> > >   CPPFLAGS=-D_nl_domain_bindings=libintl_nl_domain_bindings
> > > 
> > > But I get more errors down the line now. Is it my setup that is
> > > making it trickier to compile on Solaris? 
> > > 
> > > I thought by 1.8.3, the major hurdles would be cleared and I would
> > > just have to upgrade whatever dependencies where missing and compile
> > > gnucash. 
> > > 
> > > [...]
> > > /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.  -I../..   -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap  -g -O2 -Wall -Wunused   -Werror -c Transaction.c
> > > gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap -g -O2 -Wall -Wunused -Werror -c Transaction.c  -fPIC -o .libs/Transaction.o
> > > /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.  -I../..   -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap  -g -O2 -Wall -Wunused   -Werror -c date.c
> > > gcc -DHAVE_CONFIG_H -I. -I. -I../..  -D_nl_domain_bindings=libintl_nl_domain_bindings -I/usr/local/include -I../../lib/libc -I../../src/gnc-module -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I /usr/local/include/g-wrap -g -O2 -Wall -Wunused -Werror -c date.c -fPIC -o .libs/date.o
> > > cc1: warnings being treated as errors
> > > date.c: In function `dateSeparator':
> > > date.c:643: warning: subscript has type `char'
> > > date.c: In function `gnc_iso8601_to_timespec':
> > > date.c:706: warning: subscript has type `char'
> > > date.c:706: warning: subscript has type `char'
> > > make[4]: *** [date.lo] Error 1
> > > make[4]: Leaving directory `/usr/local/src/gnucash-1.8.3/src/engine'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory `/usr/local/src/gnucash-1.8.3/src/engine'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/usr/local/src/gnucash-1.8.3/src'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/usr/local/src/gnucash-1.8.3'
> > > make: *** [all-recursive-am] Error 2
> > > 
> > > On Thu, May 22, 2003 at 01:44:10PM -0400, Derek Atkins wrote:
> > > [...]
> > > > Ok, this is what I was getting... What you should do is run:
> > > > 
> > > >         nm /usr/local/lib/libintl.a | grep nl_domain_bindings
> > > > 
> > > > And then use the CPPFLAGS=-D_nl_domain_bindings=XXX  (where XXX is the
> > > > GLOBal definition you found in libintl.a
> > > > 
> > > > -derek
> > > > 
> > > 
> > > -- 
> > > Charles Gagnon                   | My views are my views and they
> > > http://unixrealm.com             | do not represent those of anybody
> > > charlesg at unixrealm.com        | but me.
> > > 
> > >    Women:  You can't live with'em, you can't shoot'em.
> > >         -- Stephen Wright
> > > _______________________________________________
> > > gnucash-devel mailing list
> > > gnucash-devel at lists.gnucash.org
> > > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> > 
> > -- 
> >        Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
> >        Member, MIT Student Information Processing Board  (SIPB)
> >        URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
> >        warlord at MIT.EDU                        PGP key available
> 
> -- 
> Charles Gagnon                   | My views are my views and they
> http://unixrealm.com             | do not represent those of anybody
> charlesg at unixrealm.com        | but me.
> 
>    Would a wingless fly be called a walk?
>         -- Dennis Miller
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list