Compiling on Debian

Derek Atkins warlord at MIT.EDU
Tue Oct 18 18:30:03 EDT 2005


Quoting Andrew Sackville-West <andrew at farwestbilliards.com>:

> test-date-converting.o: In function `main':
> test-date-converting.c:(.text+0x39): undefined reference to 
> `timespec_sec_to_string'
> test-date-converting.c:(.text+0x4a): undefined reference to 
> `timespec_nsec_to_string'
> test-date-converting.c:(.text+0x5f): undefined reference to 
> `string_to_timespec_secs'
> test-date-converting.c:(.text+0x99): undefined reference to 
> `string_to_timespec_nsecs'
> collect2: ld returned 1 exit status
> make[6]: *** [test-date-converting] Error 1
>
> that kills make.

This seems to be a potential issue with the way Neil re-did
the tests..  It's possible that the linker is getting confused
with the way Neil lists all the source files.  This means it
might not grab the correct symbols during the link.

I'm trying a build myself right now and I'll see if it happens
to me.  One potential fix is to change the order that files are
listed in the Makefile.am.

-derek

PS: The initial build I did (on FC3) didn't have this problem.
I ran a "make clean" and I'm rebuilding to double-check, but
it seems to be working for me as is.
--
       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