Csound Csound-dev Csound-tekno Search About

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

Date2003-12-05 14:36
From"gogins@pipeline.com"
Subject[CSOUND-DEV:3658] RE: some errors in anal/adsyn
I think the build system is confused about whether it is doing a C link or
a C++ link. It would be better to compile all .c files with g++ and do a
C++ link throughout, then these errors should go away (I think).

Original Message:
-----------------
From: Robert McNulty Junior bmj2001@bellsouth.net
Date: Thu, 4 Dec 2003 20:01:44 -0600
To: csound-dev@eartha.mills.edu
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
$


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2003-12-05 14:50
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3661] RE: some errors in anal/adsyn
I had to reconfigure with the following:
LIBS="/usr/X11R6/lib -lX11 -lstdc++" ./configure

I built the entire Cygwin chain.
I have to use Xfree86 to see anything.
Its configured for Cygwin with FLTK and Xfree86 (X11).
I have an updated copy of Cygwin, even up-to-date on the snaphots for the
Cygwin1.dll .
Its working.
What I ought to do is find somewhere to commit my experiments with Csound on
the web.
Perhaps I could create something on Sourceforge.
I'm looking forward to see if John R will rework the cygwin portion with my
changes.
Gotta go.
More email to read before I go back into Csound mode.
Bobby

-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of
gogins@pipeline.com
Sent: Friday, December 05, 2003 8:37 AM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3658] RE: some errors in anal/adsyn


I think the build system is confused about whether it is doing a C link or
a C++ link. It would be better to compile all .c files with g++ and do a
C++ link throughout, then these errors should go away (I think).

Original Message:
-----------------
From: Robert McNulty Junior bmj2001@bellsouth.net
Date: Thu, 4 Dec 2003 20:01:44 -0600
To: csound-dev@eartha.mills.edu
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
$


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .