Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3653] some errors in anal/adsyn

Date2003-12-05 02:01
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3653] some errors in anal/adsyn
Cygwin and windows XP pro.
Here are the errors I'm getting now.
Undefined references to g++ stuff from the looks of things.
I think I need to add a g++ library.


sherlock@bobby-junior ~/csoundcvs/csound/anal/adsyn
$ make
gcc -I./../../csound -g -O2 -Wall -falign-loops=4 -falign-jumps=4 -ffast-mat
h -f
omit-frame-pointer -finline-functions -funroll-loops -mwindows -DWIN32 -O2  
-mwi
ndows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpthread -lstdc++
 -o
hetro.exe  main.o
../../csound/libanalutils.a -lfltk -L/usr/X11R6/lib -lX11 -lpt
hread -lm -lc
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000
../../csound/libanalutils.a(FL_graph.o)(.text+0x645): In function
`_Z10makeWindo
wPc':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:227: undefined reference
to
`___gxx_personality_sj0'
../../csound/libanalutils.a(FL_graph.o)(.text+0x67f):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:229: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x6ce):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:230: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x75c):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:234: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x7e4):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:238: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x889):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:243: undefined reference to `operator
delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.text+0xa58): In function
`MakeXYin_':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:299: undefined reference
to
`___gxx_personality_sj0'
../../csound/libanalutils.a(FL_graph.o)(.text+0xa8e):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:301: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0xbe9):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:319: undefined reference to `operator
delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.text$_ZN9graph_boxD0Ev+0x24): In
functi
on `_ZN9graph_box4drawEv':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:93: undefined reference
to `
operator delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9graph_box+0x0): In
function
`_ZN9graph_boxD0Ev':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to
`vta
ble for __cxxabiv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9Fl_Window+0x0):/home/she
rloc
k/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxx
abiv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI8Fl_Group+0x0):/home/sher
lock
/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxxa
biv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9Fl_Widget+0x0):/home/she
rloc
k/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxx
abiv1::__class_type_info'
Info: resolving Fl::e_x      by linking to __imp___ZN2Fl3e_xE (auto-import)
Info: resolving Fl::e_y      by linking to __imp___ZN2Fl3e_yE (auto-import)
collect2: ld returned 1 exit status
make: *** [hetro.exe] Error 1

sherlock@bobby-junior ~/csoundcvs/csound/anal/adsyn
$

Date2003-12-05 02:08
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3654] RE: some errors in anal/adsyn
I got it. Add -lstdc++ to LIBS in that Makefile.
Blimey, if it was a snake, it would have bit me.


-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of Robert McNulty
Junior
Sent: Thursday, December 04, 2003 8:02 PM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3653] some errors in anal/adsyn


Cygwin and windows XP pro.
Here are the errors I'm getting now.
Undefined references to g++ stuff from the looks of things.
I think I need to add a g++ library.


sherlock@bobby-junior ~/csoundcvs/csound/anal/adsyn
$ make
gcc -I./../../csound -g -O2 -Wall -falign-loops=4 -falign-jumps=4 -ffast-mat
h -f
omit-frame-pointer -finline-functions -funroll-loops -mwindows -DWIN32 -O2
-mwi
ndows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpthread -lstdc++
 -o
hetro.exe  main.o
../../csound/libanalutils.a -lfltk -L/usr/X11R6/lib -lX11 -lpt
hread -lm -lc
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000
../../csound/libanalutils.a(FL_graph.o)(.text+0x645): In function
`_Z10makeWindo
wPc':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:227: undefined reference
to
`___gxx_personality_sj0'
../../csound/libanalutils.a(FL_graph.o)(.text+0x67f):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:229: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x6ce):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:230: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x75c):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:234: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x7e4):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:238: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x889):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:243: undefined reference to `operator
delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.text+0xa58): In function
`MakeXYin_':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:299: undefined reference
to
`___gxx_personality_sj0'
../../csound/libanalutils.a(FL_graph.o)(.text+0xa8e):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:301: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0xbe9):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:319: undefined reference to `operator
delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.text$_ZN9graph_boxD0Ev+0x24): In
functi
on `_ZN9graph_box4drawEv':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:93: undefined reference
to `
operator delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9graph_box+0x0): In
function
`_ZN9graph_boxD0Ev':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to
`vta
ble for __cxxabiv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9Fl_Window+0x0):/home/she
rloc
k/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxx
abiv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI8Fl_Group+0x0):/home/sher
lock
/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxxa
biv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9Fl_Widget+0x0):/home/she
rloc
k/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxx
abiv1::__class_type_info'
Info: resolving Fl::e_x      by linking to __imp___ZN2Fl3e_xE (auto-import)
Info: resolving Fl::e_y      by linking to __imp___ZN2Fl3e_yE (auto-import)
collect2: ld returned 1 exit status
make: *** [hetro.exe] Error 1

sherlock@bobby-junior ~/csoundcvs/csound/anal/adsyn
$

Date2003-12-05 02:31
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3655] RE: some errors in anal/adsyn
Also, add -L/usr/X11R6/lib -lX11 to the makefile
I just bult the entire tool chain with these changes.
And changs -L/usr/lib/libfltk.a to -lfltk
BObby
-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of Robert McNulty
Junior
Sent: Thursday, December 04, 2003 8:09 PM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3654] RE: some errors in anal/adsyn


I got it. Add -lstdc++ to LIBS in that Makefile.
Blimey, if it was a snake, it would have bit me.


-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of Robert McNulty
Junior
Sent: Thursday, December 04, 2003 8:02 PM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3653] some errors in anal/adsyn


Cygwin and windows XP pro.
Here are the errors I'm getting now.
Undefined references to g++ stuff from the looks of things.
I think I need to add a g++ library.


sherlock@bobby-junior ~/csoundcvs/csound/anal/adsyn
$ make
gcc -I./../../csound -g -O2 -Wall -falign-loops=4 -falign-jumps=4 -ffast-mat
h -f
omit-frame-pointer -finline-functions -funroll-loops -mwindows -DWIN32 -O2
-mwi
ndows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpthread -lstdc++
 -o
hetro.exe  main.o
../../csound/libanalutils.a -lfltk -L/usr/X11R6/lib -lX11 -lpt
hread -lm -lc
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
warning
: cannot find entry symbol _WinMainCRTStartup; defaulting to 00401000
../../csound/libanalutils.a(FL_graph.o)(.text+0x645): In function
`_Z10makeWindo
wPc':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:227: undefined reference
to
`___gxx_personality_sj0'
../../csound/libanalutils.a(FL_graph.o)(.text+0x67f):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:229: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x6ce):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:230: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x75c):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:234: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x7e4):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:238: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0x889):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:243: undefined reference to `operator
delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.text+0xa58): In function
`MakeXYin_':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:299: undefined reference
to
`___gxx_personality_sj0'
../../csound/libanalutils.a(FL_graph.o)(.text+0xa8e):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:301: undefined reference to `operator
new(unsigned)'
../../csound/libanalutils.a(FL_graph.o)(.text+0xbe9):/home/sherlock/csoundcv
s/cs
ound/csound/FL_graph.cpp:319: undefined reference to `operator
delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.text$_ZN9graph_boxD0Ev+0x24): In
functi
on `_ZN9graph_box4drawEv':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp:93: undefined reference
to `
operator delete(void*)'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9graph_box+0x0): In
function
`_ZN9graph_boxD0Ev':
/home/sherlock/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to
`vta
ble for __cxxabiv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9Fl_Window+0x0):/home/she
rloc
k/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxx
abiv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI8Fl_Group+0x0):/home/sher
lock
/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxxa
biv1::__si_class_type_info'
../../csound/libanalutils.a(FL_graph.o)(.rdata$_ZTI9Fl_Widget+0x0):/home/she
rloc
k/csoundcvs/csound/csound/FL_graph.cpp: undefined reference to `vtable for
__cxx
abiv1::__class_type_info'
Info: resolving Fl::e_x      by linking to __imp___ZN2Fl3e_xE (auto-import)
Info: resolving Fl::e_y      by linking to __imp___ZN2Fl3e_yE (auto-import)
collect2: ld returned 1 exit status
make: *** [hetro.exe] Error 1

sherlock@bobby-junior ~/csoundcvs/csound/anal/adsyn
$