Csound Csound-dev Csound-tekno Search About

[Cs-dev] link error

Date2006-06-03 19:14
Frommatt ingalls
Subject[Cs-dev] link error
i have never been able to compile with useFLTK or generateXmg
[ i'm on MacOS 10.4 ]

i tried installing a 1.1.7 & 1.1.6 versions of FLTK both get the same  
link error:

ld: Undefined symbols:
__ZN9Fl_Widget5labelEPKc

anyone know why i'm getting this?


and the generateXmg problem:


./makedb strings/all_strings American
scons: *** [American.xmg] Error -11
scons: building terminated because of errors.

Broadcast Message from root@laptop.local
         (no tty) at 11:11 PDT...

Jun  3 11:11:38 laptop crashdump[512]: Date/Time:      2006-06-03  
11:11:37.770
-0700





  thanks!
m


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-06-06 10:20
FromIstvan Varga
SubjectRe: [Cs-dev] link error
AttachmentsNone  

Date2006-06-06 10:29
FromIstvan Varga
SubjectRe: [Cs-dev] link error
AttachmentsNone  

Date2006-06-07 01:44
Frommatt ingalls
SubjectRe: [Cs-dev] link error

On Jun 6, 2006, at 2:29 AM, Istvan Varga wrote:

> By the way, do you have correct string database source files ? I have
> the following (size, md5sum, name):
>
>    63815    977ede898da2c38e8d0dc0183e5aa304    strings/all_strings
>    63899    7c72da76fbf8d1f2078ce9c31e6e814f    strings/english- 
> strings
>    68916    198a2203dea4415664dd9081a69e1838    strings/french-strings

yes

>
>> To debug the makedb issue, try running it directly from the command
>> line:
>>
>>   ./makedb strings/all_strings American

same crash

>>
>> If a crash occurs (at least I suspect the "Error -11" is signal 11,
>> i.e. segmentation fault), run it in gdb, making sure that the program
>> was built for debugging (-g -O0), and send the backtrace:
>>
>> gdb --args ./makedb strings/all_strings American
>> run
>> backtrace


matt$ sudo gdb --args ./makedb strings/all_strings American
GNU gdb 6.1-20040303 (Apple version gdb-434) (Wed Nov  2 17:28:16 GMT  
2005)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and  
you are
welcome to change it and/or distribute copies of it under certain  
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for  
details.
This GDB was configured as "powerpc-apple-darwin"...Reading symbols  
for shared libraries .. done

(gdb) run
Starting program: /Users/matt/Documents/Csound/csound5/csound5/makedb  
strings/all_strings American
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xc0000000
read_line (f=0xa000db44, buf=0xbffff3c8 ' ' ,  
"ilength should be greater than kgsize * max up\n", ' ' , "pitch shift. Also, igsize_os and igskip_os should\n       
remainder of line flushed\n    String truncated\n   Zero substituted 
\n   end"...) at strings/makedb.c:43
43              buf[i] = (unsigned char) c;
(gdb) backtrace
#0  read_line (f=0xa000db44, buf=0xbffff3c8 ' ' ,  
"ilength should be greater than kgsize * max up\n", ' ' , "pitch shift. Also, igsize_os and igskip_os should\n       
remainder of line flushed\n    String truncated\n   Zero substituted 
\n   end"...) at strings/makedb.c:43
#1  0x00002a24 in main (argc=0, argv=0xbffffac4) at strings/makedb.c:150


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-06-07 09:39
FromIstvan Varga
SubjectRe: [Cs-dev] link error
AttachmentsNone