Unable to compile r13513

micwise at bellsouth.net micwise at bellsouth.net
Tue Mar 7 15:37:36 EST 2006


> 
> From: Derek Atkins <warlord at MIT.EDU>
> Date: 2006/03/07 Tue AM 11:27:34 CST
> To: micwise at bellsouth.net
> CC: gnucash-devel at gnucash.org
> Subject: Re: Re: Unable to compile r13513
> 
> This is the exact same error.  Fix it the same way.
> 
> -derek
> 

Ok,  I feel a little idiotic.  My wounds were apparently self-inflicted.  I was using an older script I use to comple gnucash.  The verison I was using had a couple of configuration options left over from compiling on FC4 (--disable-error-on-warning and CFLAGS="-Wno-uninitialized").  It compiles without those two options.  I'm sure this is more information than you care.  For some reason, I feel the need to prove I'm not a total idot, just a partial one.

Michael

> Quoting micwise at bellsouth.net:
> 
> >
> >>
> >> From: Derek Atkins <warlord at MIT.EDU>
> >> Date: 2006/03/07 Tue AM 09:03:49 CST
> >> To: micwise at bellsouth.net
> >> CC: gnucash-devel at gnucash.org
> >> Subject: Re: Unable to compile r13513
> >>
> >> I suspect the issue is that those functions, acc_free, commit_err,
> >> on_done, noop, and on_err are being defined "static inline" and your
> >> particular compiler is complaining about them.  FWIW I can build
> >> r13513 on FC4 without any issue.
> >>
> >> Can you go into those files in src/engine, remove the 'inline' part
> >> from those function definitions, and then see if that fixes your problem?
> >>
> >> -derek
> >>
> > I removed the inline and got further but now I have another error.  
> > I'm using gcc-4.1.0-2
> > as well as internal qof if that helps.  The error is:
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncInvoiceOnError'
> > ../.libs/libgncmod-business-core.so: undefined reference to `gncEntryOnError'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncEmployeeOnError'
> > ../.libs/libgncmod-business-core.so: undefined reference to `table_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to `gncJobOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to `invoice_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncCustomerOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to `gncOrderOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to `gncEntryOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to `cust_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to `gncOrderOnError'
> > ../.libs/libgncmod-business-core.so: undefined reference to `on_done'
> > ../.libs/libgncmod-business-core.so: undefined reference to `emp_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to `gncVendorOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to `job_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncInvoiceOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to `entry_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to `order_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncTaxTableOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncCustomerOnError'
> > ../.libs/libgncmod-business-core.so: undefined reference to `bill_free'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncVendorOnError'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncTaxTableOnError'
> > ../.libs/libgncmod-business-core.so: undefined reference to 
> > `gncEmployeeOnDone'
> > ../.libs/libgncmod-business-core.so: undefined reference to `vendor_free'
> > collect2: ld returned 1 exit status
> > make[6]: *** [test-load-module] Error 1
> > make[6]: Leaving directory 
> > `/home/michael.wise/workspace/gnucash/trunk/src/business/business-core/test'
> > make[5]: *** [install-recursive] Error 1
> > make[5]: Leaving directory 
> > `/home/michael.wise/workspace/gnucash/trunk/src/business/business-core'
> > make[4]: *** [install] Error 2
> > make[4]: Leaving directory 
> > `/home/michael.wise/workspace/gnucash/trunk/src/business/business-core'
> > make[3]: *** [install-recursive] Error 1
> > make[3]: Leaving directory 
> > `/home/michael.wise/workspace/gnucash/trunk/src/business'
> > make[2]: *** [install-recursive] Error 1
> > make[2]: Leaving directory `/home/michael.wise/workspace/gnucash/trunk/src'
> > make[1]: *** [install-recursive] Error 1
> > make[1]: Leaving directory `/home/michael.wise/workspace/gnucash/trunk'
> > make: *** [install] Error 2
> >
> > Michael
> >
> > [snip]
> >
> >
> >>        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
> >>
> >>
> >
> >
> 
> 
> 
> -- 
>        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