[CSOUND-DEV:3257] fix in rdorch.c::synterr()
Date | 2003-10-31 19:59 |
From | stevenyi |
Subject | [CSOUND-DEV:3257] fix in rdorch.c::synterr() |
Hi all, I've added a fix for synterr() in rdorch.c to use %c instead of %f, as I had been using Csound and had syntax errors I got a whole lot of floats instead of the offending line of code reported. This has been checked into Csound4 and Csound5 cvs. I believe the binaries up on sourceForge also give floats on syntax errors instead of lines of text, and may affect CsoundVST as well. I added an entry in the csound5 ChangeLog regarding this. Would this be something meriting an entry? (I imagined so, so went ahead.) Thanks, steven |
Date | 2003-11-02 05:37 |
From | "Bobby McNulty Junior" |
Subject | [CSOUND-DEV:3259] proiblems with Csound 5 |
Does anybody know how to fix these? I'm trying to compile CSOUND5 under cygwin. gcc -g -O2 -DBETA -DWIN32 -D_CONSOLE -DSFIRCAM -o csound argdecode.o cscore.o cscorfns.o cvanal.o dl_opcodes.o dnoise.o getstring.o hetro.o jpff_glue.o lpana l.o main.o one_file.o opcode.o pvanal.o pvlook.o sndinfo.o scot.o winascii.o wi ndow.o windin.o winEPS.o aiff.o wave.o ieee80.o sfheader.o soundin.o soundio.o a ifc.o aops.o cmath.o control.o diskin.o disprep.o dnfft.o dsputil.o dumpf.o fft. o fout.o lptrkfns.o mididevice.o midiinterop.o midiops.o midiout.o midirecv.o mi disend.o mxfft.o oscils.o pitch0.o pstream.o pvadd.o pvfileio.o pvinterp.o pvoc. o pvocext.o pvread.o pvsanal.o pvxanal.o schedule.o sdif.o sdif-mem.o sndinfUG.o ugens1.o ugens2.o ugens3.o ugens4.o ugens5.o ugens6.o ugens7.o ugens8.o ugens9. o vbap.o vbap_eight.o vbap_four.o vbap_sixteen.o vbap_zak.o vdelay.o vpvoc.o aux fd.o entry1.o entry2.o express.o extract.o fgens.o filopen.o insert.o linevent.o memalloc.o memfiles.o musmon.o namedins.o oload.o otran.o rdorch.o rdscor.o scs ort.o scxtract.o sort.o sread.o swrite.o twarp.o rtpa.o pablio.o ringbuffer.o w idgets.o -mwindows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpth read -lstdc++ -L/usr/X11R6/lib -lm -lpthread -lX11 -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 argdecode.o(.text+0x1acf): In function `dieu': /home/bobby/csound/csound5/Top/argdecode.c:385: undefined reference to `_POLL_EV ENTS' argdecode.o(.text+0x25d8): In function `decode_long': /home/bobby/csound/csound5/Top/argdecode.c:643: undefined reference to `_POLL_EV ENTS' argdecode.o(.text+0x2bf1):/home/bobby/csound/csound5/Top/argdecode.c:879: undefi ned reference to `_POLL_EVENTS' argdecode.o(.text+0x2ea6): In function `argdecode': /home/bobby/csound/csound5/Top/argdecode.c:1323: undefined reference to `_POLL_E VENTS' argdecode.o(.text+0x30c1):/home/bobby/csound/csound5/Top/argdecode.c:1310: undef ined reference to `_POLL_EVENTS' argdecode.o(.text+0x3708):/home/bobby/csound/csound5/Top/argdecode.c:1105: more undefined references to `_POLL_EVENTS' follow mididevice.o(.text+0x8a): In function `OpenMIDIDevice': /home/bobby/csound/csound5/OOps/mididevice.c:202: undefined reference to `_midiI nGetNumDevs@0' mididevice.o(.text+0xc3):/home/bobby/csound/csound5/OOps/mididevice.c:207: undef ined reference to `_midiInGetDevCapsA@12' mididevice.o(.text+0x144):/home/bobby/csound/csound5/OOps/mididevice.c:215: unde fined reference to `_midiInGetDevCapsA@12' mididevice.o(.text+0x198):/home/bobby/csound/csound5/OOps/mididevice.c:225: unde fined reference to `_midiInOpen@20' mididevice.o(.text+0x1ac):/home/bobby/csound/csound5/OOps/mididevice.c:225: unde fined reference to `_midiInStart@4' mididevice.o(.text+0x34f): In function `CloseMIDIDevice': /home/bobby/csound/csound5/OOps/mididevice.c:629: undefined reference to `_midiI nStop@4' mididevice.o(.text+0x363):/home/bobby/csound/csound5/OOps/mididevice.c:629: unde fined reference to `_midiInReset@4' mididevice.o(.text+0x389):/home/bobby/csound/csound5/OOps/mididevice.c:650: unde fined reference to `_midiInClose@4' midisend.o(.text+0x26): In function `send_midi_message': /home/bobby/csound/csound5/OOps/midisend.c:200: undefined reference to `_midiOut ShortMsg@8' midisend.o(.text+0x6c): In function `note_on': /home/bobby/csound/csound5/OOps/midisend.c:205: undefined reference to `_midiOut ShortMsg@8' midisend.o(.text+0xa9): In function `note_off': /home/bobby/csound/csound5/OOps/midisend.c:210: undefined reference to `_midiOut ShortMsg@8' midisend.o(.text+0xec): In function `control_change': /home/bobby/csound/csound5/OOps/midisend.c:215: undefined reference to `_midiOut ShortMsg@8' midisend.o(.text+0x123): In function `after_touch': /home/bobby/csound/csound5/OOps/midisend.c:220: undefined reference to `_midiOut ShortMsg@8' midisend.o(.text+0x153):/home/bobby/csound/csound5/OOps/midisend.c:225: more und efined references to `_midiOutShortMsg@8' follow midisend.o(.text+0x2f8): In function `openMIDIout': /home/bobby/csound/csound5/OOps/midisend.c:240: undefined reference to `_midiOut GetNumDevs@0' midisend.o(.text+0x380):/home/bobby/csound/csound5/OOps/midisend.c:253: undefine d reference to `_midiOutGetDevCapsA@12' midisend.o(.text+0x3c8):/home/bobby/csound/csound5/OOps/midisend.c:255: undefine d reference to `_midiOutOpen@20' insert.o(.text+0x15c8): In function `kperf': /home/bobby/csound/csound5/Engine/insert.c:681: undefined reference to `_POLL_EV ENTS' insert.o(.text+0x1611):/home/bobby/csound/csound5/Engine/insert.c:689: undefined reference to `_POLL_EVENTS' musmon.o(.text+0x6bb): In function `musmon': /home/bobby/csound/csound5/Engine/musmon.c:235: undefined reference to `_POLL_EV ENTS' musmon.o(.text+0x71c):/home/bobby/csound/csound5/Engine/musmon.c:252: undefined reference to `_POLL_EVENTS' musmon.o(.text+0x7f9):/home/bobby/csound/csound5/Engine/musmon.c:289: undefined reference to `_POLL_EVENTS' musmon.o(.text+0x822):/home/bobby/csound/csound5/Engine/musmon.c:295: more undef ined references to `_POLL_EVENTS' follow pablio.o(.text+0x150): In function `WriteAudioStream': /home/bobby/csound/csound5/InOut/pablio.c:131: undefined reference to `_Pa_Sleep ' pablio.o(.text+0x1b0): In function `ReadAudioStream': /home/bobby/csound/csound5/InOut/pablio.c:150: undefined reference to `_Pa_Sleep ' pablio.o(.text+0x2a8): In function `OpenAudioStream': /home/bobby/csound/csound5/InOut/pablio.c:213: undefined reference to `_Pa_GetSa mpleSize' pablio.o(.text+0x2ce):/home/bobby/csound/csound5/InOut/pablio.c:223: undefined r eference to `_Pa_Initialize' pablio.o(.text+0x2eb):/home/bobby/csound/csound5/InOut/pablio.c:229: undefined r eference to `_Pa_GetMinNumBuffers' pablio.o(.text+0x3b0):/home/bobby/csound/csound5/InOut/pablio.c:241: undefined r eference to `_Pa_OpenStream' pablio.o(.text+0x3c1):/home/bobby/csound/csound5/InOut/pablio.c:271: undefined r eference to `_Pa_StartStream' pablio.o(.text+0x401):/home/bobby/csound/csound5/InOut/pablio.c:279: undefined r eference to `_Pa_GetDefaultInputDeviceID' pablio.o(.text+0x444):/home/bobby/csound/csound5/InOut/pablio.c:253: undefined r eference to `_Pa_GetDefaultOutputDeviceID' pablio.o(.text+0x4ae): In function `CloseAudioStream': /home/bobby/csound/csound5/InOut/pablio.c:301: undefined reference to `_Pa_StopS tream' pablio.o(.text+0x4bf):/home/bobby/csound/csound5/InOut/pablio.c:303: undefined r eference to `_Pa_CloseStream' pablio.o(.text+0x4ca):/home/bobby/csound/csound5/InOut/pablio.c:305: undefined r eference to `_Pa_Terminate' pablio.o(.text+0x4fd):/home/bobby/csound/csound5/InOut/pablio.c:296: undefined r eference to `_Pa_Sleep' 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) Info: resolving Fl::e_is_click by linking to __imp___ZN2Fl10e_is_clickE (a uto-import) Info: resolving Fl::e_keysym by linking to __imp___ZN2Fl8e_keysymE (auto-im port) Info: resolving vtable for Fl_Boxby linking to __imp___ZTV6Fl_Box (auto-import) Info: resolving vtable for Fl_Valuatorby linking to __imp___ZTV11Fl_Valuator (au to-import) Info: resolving vtable for Fl_Inputby linking to __imp___ZTV8Fl_Input (auto-impo rt) Info: resolving vtable for Fl_Value_Sliderby linking to __imp___ZTV15Fl_Value_Sl ider (auto-import) Info: resolving vtable for Fl_Sliderby linking to __imp___ZTV9Fl_Slider (auto-im port) collect2: ld returned 1 exit status make: *** [csound] Error 1 bobby@bobby-junior ~/csound/csound5 $ |
Date | 2003-11-02 13:48 |
From | ramsdell@mitre.org (John D. Ramsdell) |
Subject | [CSOUND-DEV:3260] csound5/Makefile.in and standards |
It appears there is an error in the top-level Makefile.in, but most of this note is about transforming csound5 so that it embraces accepted practice for open source software. The error appears in the sixth line: LIB = @datadir@ Binary data should never be put in datadir. The datadir is for data that can be shared among architectures. It is installed into a directory such as /usr/share or /usr/local/share. Documentation goes in this directory, and it is completely appropriate for csound.xmg to be placed there. The binary file libcsound.a should be placed in @libdir@. Another place to put csound.xmg in @pkgdatadir@, which usually expands to $(datadir)/@PACKAGE@. This is my preference. A good introduction to accepted practice is available in the standards node in the info documentation. Non-emacs users can read this information using the info command. $ info standards The easiest way to make csound fit in is to generate Makefile.in's using automake, however, its not clear how to convert the top-level makefile into an automake generated file. Makefiles in subdirectories appear to be easily converted--just look at util1/Makefile.in. To allow automake use in subdirectories, we should add the line AM_INIT_AUTOMAKE after AC_INIT and the lines dnl Add warning when using GGG if test "X$GCC" = Xyes ; then CFLAGS="$CFLAGS -Wall" fi AM_PROG_CC_STDC after AC_PROG_CC. This addition also adds -Wall when using GCC, a nice touch. We can make this change without forcing automake usage, so there is no downside to these changes. For the top-level Makefile.in, I suggest we simply copy in standard text that is generated by automake, and go from there. I have enclosed that text. John @SET_MAKE@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_HEADER = $(INSTALL_DATA) transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : EXEEXT = @EXEEXT@ OBJEXT = @OBJEXT@ PATH_SEPARATOR = @PATH_SEPARATOR@ AMTAR = @AMTAR@ AWK = @AWK@ CC = @CC@ CXX = @CXX@ DEPDIR = @DEPDIR@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ PACKAGE = @PACKAGE@ RANLIB = @RANLIB@ STRIP = @STRIP@ VERSION = @VERSION@ am__include = @am__include@ am__quote = @am__quote@ install_sh = @install_sh@ |
Date | 2003-11-02 20:50 |
From | stevenyi |
Subject | [CSOUND-DEV:3261] Re: csound5/Makefile.in and standards |
Hi John, Thanks for the "info". =) Never knew that that was there. As for other standards, how does everyone feel about also moving the source tree down a directory into src directory? Seems a little tidier and more the norm for projects I've come across. Not a major issue for me at all, but then all the documentation files that do come with Csound would be easier to find/more noticeable. Also just seems tidier. steven On Sun, 2003-11-02 at 05:48, John D. Ramsdell wrote: > It appears there is an error in the top-level Makefile.in, but most of > this note is about transforming csound5 so that it embraces accepted > practice for open source software. > > The error appears in the sixth line: > > LIB = @datadir@ > > Binary data should never be put in datadir. The datadir is for data > that can be shared among architectures. It is installed into a > directory such as /usr/share or /usr/local/share. Documentation goes > in this directory, and it is completely appropriate for csound.xmg to > be placed there. The binary file libcsound.a should be placed in > @libdir@. Another place to put csound.xmg in @pkgdatadir@, which > usually expands to $(datadir)/@PACKAGE@. This is my preference. > > A good introduction to accepted practice is available in the standards > node in the info documentation. Non-emacs users can read this > information using the info command. > > $ info standards > > The easiest way to make csound fit in is to generate Makefile.in's > using automake, however, its not clear how to convert the top-level > makefile into an automake generated file. Makefiles in subdirectories > appear to be easily converted--just look at util1/Makefile.in. To > allow automake use in subdirectories, we should add the line > > AM_INIT_AUTOMAKE > > after AC_INIT and the lines > > dnl Add warning when using GGG > if test "X$GCC" = Xyes ; then > CFLAGS="$CFLAGS -Wall" > fi > AM_PROG_CC_STDC > > after AC_PROG_CC. This addition also adds -Wall when using GCC, a > nice touch. We can make this change without forcing automake usage, > so there is no downside to these changes. > > For the top-level Makefile.in, I suggest we simply copy in standard > text that is generated by automake, and go from there. I have > enclosed that text. |
Date | 2003-11-02 21:49 |
From | ramsdell@mitre.org (John D. Ramsdell) |
Subject | [CSOUND-DEV:3262] Re: csound5/Makefile.in and standards |
stevenyi |
Date | 2003-11-04 16:11 |
From | stevenyi |
Subject | [CSOUND-DEV:3264] Re: proiblems with Csound 5 |
Hi Bobby, If it's of any consequence, I thought I'd say I'm stuck too on cygwin. =o It looks like you don't have PortAudio linking in. Last I tried to compile on cygwin I got stuck during the compile phase so haven't gotten to this point yet. Good luck and hopefully we'll get through these soon! steven On Mon, 2003-12-01 at 21:37, Bobby McNulty Junior wrote: > Does anybody know how to fix these? > I'm trying to compile CSOUND5 under cygwin. > > gcc -g -O2 -DBETA -DWIN32 -D_CONSOLE -DSFIRCAM -o csound argdecode.o > cscore.o > cscorfns.o cvanal.o dl_opcodes.o dnoise.o getstring.o hetro.o jpff_glue.o > lpana > l.o main.o one_file.o opcode.o pvanal.o pvlook.o sndinfo.o scot.o > winascii.o wi > ndow.o windin.o winEPS.o aiff.o wave.o ieee80.o sfheader.o soundin.o > soundio.o a > ifc.o aops.o cmath.o control.o diskin.o disprep.o dnfft.o dsputil.o dumpf.o > fft. > o fout.o lptrkfns.o mididevice.o midiinterop.o midiops.o midiout.o > midirecv.o mi > disend.o mxfft.o oscils.o pitch0.o pstream.o pvadd.o pvfileio.o pvinterp.o > pvoc. > o pvocext.o pvread.o pvsanal.o pvxanal.o schedule.o sdif.o sdif-mem.o > sndinfUG.o > ugens1.o ugens2.o ugens3.o ugens4.o ugens5.o ugens6.o ugens7.o ugens8.o > ugens9. > o vbap.o vbap_eight.o vbap_four.o vbap_sixteen.o vbap_zak.o vdelay.o vpvoc.o > aux > fd.o entry1.o entry2.o express.o extract.o fgens.o filopen.o insert.o > linevent.o > memalloc.o memfiles.o musmon.o namedins.o oload.o otran.o rdorch.o rdscor.o > scs > ort.o scxtract.o sort.o sread.o swrite.o twarp.o rtpa.o pablio.o > ringbuffer.o w > idgets.o -mwindows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpth > read > -lstdc++ -L/usr/X11R6/lib -lm -lpthread -lX11 -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 > argdecode.o(.text+0x1acf): In function `dieu': > /home/bobby/csound/csound5/Top/argdecode.c:385: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x25d8): In function `decode_long': > /home/bobby/csound/csound5/Top/argdecode.c:643: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x2bf1):/home/bobby/csound/csound5/Top/argdecode.c:879: > undefi > ned reference to `_POLL_EVENTS' > argdecode.o(.text+0x2ea6): In function `argdecode': > /home/bobby/csound/csound5/Top/argdecode.c:1323: undefined reference to > `_POLL_E > VENTS' > argdecode.o(.text+0x30c1):/home/bobby/csound/csound5/Top/argdecode.c:1310: > undef > ined reference to `_POLL_EVENTS' > argdecode.o(.text+0x3708):/home/bobby/csound/csound5/Top/argdecode.c:1105: > more > undefined references to `_POLL_EVENTS' follow > mididevice.o(.text+0x8a): In function `OpenMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:202: undefined reference to > `_midiI > nGetNumDevs@0' > mididevice.o(.text+0xc3):/home/bobby/csound/csound5/OOps/mididevice.c:207: > undef > ined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x144):/home/bobby/csound/csound5/OOps/mididevice.c:215: > unde > fined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x198):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInOpen@20' > mididevice.o(.text+0x1ac):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInStart@4' > mididevice.o(.text+0x34f): In function `CloseMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:629: undefined reference to > `_midiI > nStop@4' > mididevice.o(.text+0x363):/home/bobby/csound/csound5/OOps/mididevice.c:629: > unde > fined reference to `_midiInReset@4' > mididevice.o(.text+0x389):/home/bobby/csound/csound5/OOps/mididevice.c:650: > unde > fined reference to `_midiInClose@4' > midisend.o(.text+0x26): In function `send_midi_message': > /home/bobby/csound/csound5/OOps/midisend.c:200: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x6c): In function `note_on': > /home/bobby/csound/csound5/OOps/midisend.c:205: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xa9): In function `note_off': > /home/bobby/csound/csound5/OOps/midisend.c:210: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xec): In function `control_change': > /home/bobby/csound/csound5/OOps/midisend.c:215: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x123): In function `after_touch': > /home/bobby/csound/csound5/OOps/midisend.c:220: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x153):/home/bobby/csound/csound5/OOps/midisend.c:225: more > und > efined references to `_midiOutShortMsg@8' follow > midisend.o(.text+0x2f8): In function `openMIDIout': > /home/bobby/csound/csound5/OOps/midisend.c:240: undefined reference to > `_midiOut > GetNumDevs@0' > midisend.o(.text+0x380):/home/bobby/csound/csound5/OOps/midisend.c:253: > undefine > d reference to `_midiOutGetDevCapsA@12' > midisend.o(.text+0x3c8):/home/bobby/csound/csound5/OOps/midisend.c:255: > undefine > d reference to `_midiOutOpen@20' > insert.o(.text+0x15c8): In function `kperf': > /home/bobby/csound/csound5/Engine/insert.c:681: undefined reference to > `_POLL_EV > ENTS' > insert.o(.text+0x1611):/home/bobby/csound/csound5/Engine/insert.c:689: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x6bb): In function `musmon': > /home/bobby/csound/csound5/Engine/musmon.c:235: undefined reference to > `_POLL_EV > ENTS' > musmon.o(.text+0x71c):/home/bobby/csound/csound5/Engine/musmon.c:252: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x7f9):/home/bobby/csound/csound5/Engine/musmon.c:289: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x822):/home/bobby/csound/csound5/Engine/musmon.c:295: more > undef > ined references to `_POLL_EVENTS' follow > pablio.o(.text+0x150): In function `WriteAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:131: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x1b0): In function `ReadAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:150: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x2a8): In function `OpenAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:213: undefined reference to > `_Pa_GetSa > mpleSize' > pablio.o(.text+0x2ce):/home/bobby/csound/csound5/InOut/pablio.c:223: > undefined r > eference to `_Pa_Initialize' > pablio.o(.text+0x2eb):/home/bobby/csound/csound5/InOut/pablio.c:229: > undefined r > eference to `_Pa_GetMinNumBuffers' > pablio.o(.text+0x3b0):/home/bobby/csound/csound5/InOut/pablio.c:241: > undefined r > eference to `_Pa_OpenStream' > pablio.o(.text+0x3c1):/home/bobby/csound/csound5/InOut/pablio.c:271: > undefined r > eference to `_Pa_StartStream' > pablio.o(.text+0x401):/home/bobby/csound/csound5/InOut/pablio.c:279: > undefined r > eference to `_Pa_GetDefaultInputDeviceID' > pablio.o(.text+0x444):/home/bobby/csound/csound5/InOut/pablio.c:253: > undefined r > eference to `_Pa_GetDefaultOutputDeviceID' > pablio.o(.text+0x4ae): In function `CloseAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:301: undefined reference to > `_Pa_StopS > tream' > pablio.o(.text+0x4bf):/home/bobby/csound/csound5/InOut/pablio.c:303: > undefined r > eference to `_Pa_CloseStream' > pablio.o(.text+0x4ca):/home/bobby/csound/csound5/InOut/pablio.c:305: > undefined r > eference to `_Pa_Terminate' > pablio.o(.text+0x4fd):/home/bobby/csound/csound5/InOut/pablio.c:296: > undefined r > eference to `_Pa_Sleep' > 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) > Info: resolving Fl::e_is_click by linking to > __imp___ZN2Fl10e_is_clickE (a > uto-import) > Info: resolving Fl::e_keysym by linking to __imp___ZN2Fl8e_keysymE > (auto-im > port) > Info: resolving vtable for Fl_Boxby linking to __imp___ZTV6Fl_Box > (auto-import) > Info: resolving vtable for Fl_Valuatorby linking to __imp___ZTV11Fl_Valuator > (au > to-import) > Info: resolving vtable for Fl_Inputby linking to __imp___ZTV8Fl_Input > (auto-impo > rt) > Info: resolving vtable for Fl_Value_Sliderby linking to > __imp___ZTV15Fl_Value_Sl > ider (auto-import) > Info: resolving vtable for Fl_Sliderby linking to __imp___ZTV9Fl_Slider > (auto-im > port) > collect2: ld returned 1 exit status > make: *** [csound] Error 1 > > bobby@bobby-junior ~/csound/csound5 > $ > > |
Date | 2003-11-05 02:32 |
From | "Bobby McNulty Junior" |
Subject | [CSOUND-DEV:3277] Re: proiblems with Csound 5 |
I'll solve that hhen I get a chance. I noticed in widgets.cpp, fstream.h is called. There is no fstream.h, just fstream. What do I do about the POLL_EVENTS? Should I give up under Cygwin and try Mingw? Bobby I tried some time back defining the Poll_EVENTS for Cygwin using Win32, my bad. Whiich switch do I define? -----Original Message----- From: owner-csound-dev@eartha.mills.edu [mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of stevenyi Sent: Tuesday, November 04, 2003 10:11 AM To: Csound Developers Discussion List Subject: [CSOUND-DEV:3264] Re: proiblems with Csound 5 Hi Bobby, If it's of any consequence, I thought I'd say I'm stuck too on cygwin. =o It looks like you don't have PortAudio linking in. Last I tried to compile on cygwin I got stuck during the compile phase so haven't gotten to this point yet. Good luck and hopefully we'll get through these soon! steven On Mon, 2003-12-01 at 21:37, Bobby McNulty Junior wrote: > Does anybody know how to fix these? > I'm trying to compile CSOUND5 under cygwin. > > gcc -g -O2 -DBETA -DWIN32 -D_CONSOLE -DSFIRCAM -o csound argdecode.o > cscore.o > cscorfns.o cvanal.o dl_opcodes.o dnoise.o getstring.o hetro.o jpff_glue.o > lpana > l.o main.o one_file.o opcode.o pvanal.o pvlook.o sndinfo.o scot.o > winascii.o wi > ndow.o windin.o winEPS.o aiff.o wave.o ieee80.o sfheader.o soundin.o > soundio.o a > ifc.o aops.o cmath.o control.o diskin.o disprep.o dnfft.o dsputil.o dumpf.o > fft. > o fout.o lptrkfns.o mididevice.o midiinterop.o midiops.o midiout.o > midirecv.o mi > disend.o mxfft.o oscils.o pitch0.o pstream.o pvadd.o pvfileio.o pvinterp.o > pvoc. > o pvocext.o pvread.o pvsanal.o pvxanal.o schedule.o sdif.o sdif-mem.o > sndinfUG.o > ugens1.o ugens2.o ugens3.o ugens4.o ugens5.o ugens6.o ugens7.o ugens8.o > ugens9. > o vbap.o vbap_eight.o vbap_four.o vbap_sixteen.o vbap_zak.o vdelay.o vpvoc.o > aux > fd.o entry1.o entry2.o express.o extract.o fgens.o filopen.o insert.o > linevent.o > memalloc.o memfiles.o musmon.o namedins.o oload.o otran.o rdorch.o rdscor.o > scs > ort.o scxtract.o sort.o sread.o swrite.o twarp.o rtpa.o pablio.o > ringbuffer.o w > idgets.o -mwindows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpth > read > -lstdc++ -L/usr/X11R6/lib -lm -lpthread -lX11 -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 > argdecode.o(.text+0x1acf): In function `dieu': > /home/bobby/csound/csound5/Top/argdecode.c:385: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x25d8): In function `decode_long': > /home/bobby/csound/csound5/Top/argdecode.c:643: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x2bf1):/home/bobby/csound/csound5/Top/argdecode.c:879: > undefi > ned reference to `_POLL_EVENTS' > argdecode.o(.text+0x2ea6): In function `argdecode': > /home/bobby/csound/csound5/Top/argdecode.c:1323: undefined reference to > `_POLL_E > VENTS' > argdecode.o(.text+0x30c1):/home/bobby/csound/csound5/Top/argdecode.c:1310: > undef > ined reference to `_POLL_EVENTS' > argdecode.o(.text+0x3708):/home/bobby/csound/csound5/Top/argdecode.c:1105: > more > undefined references to `_POLL_EVENTS' follow > mididevice.o(.text+0x8a): In function `OpenMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:202: undefined reference to > `_midiI > nGetNumDevs@0' > mididevice.o(.text+0xc3):/home/bobby/csound/csound5/OOps/mididevice.c:207: > undef > ined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x144):/home/bobby/csound/csound5/OOps/mididevice.c:215: > unde > fined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x198):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInOpen@20' > mididevice.o(.text+0x1ac):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInStart@4' > mididevice.o(.text+0x34f): In function `CloseMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:629: undefined reference to > `_midiI > nStop@4' > mididevice.o(.text+0x363):/home/bobby/csound/csound5/OOps/mididevice.c:629: > unde > fined reference to `_midiInReset@4' > mididevice.o(.text+0x389):/home/bobby/csound/csound5/OOps/mididevice.c:650: > unde > fined reference to `_midiInClose@4' > midisend.o(.text+0x26): In function `send_midi_message': > /home/bobby/csound/csound5/OOps/midisend.c:200: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x6c): In function `note_on': > /home/bobby/csound/csound5/OOps/midisend.c:205: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xa9): In function `note_off': > /home/bobby/csound/csound5/OOps/midisend.c:210: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xec): In function `control_change': > /home/bobby/csound/csound5/OOps/midisend.c:215: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x123): In function `after_touch': > /home/bobby/csound/csound5/OOps/midisend.c:220: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x153):/home/bobby/csound/csound5/OOps/midisend.c:225: more > und > efined references to `_midiOutShortMsg@8' follow > midisend.o(.text+0x2f8): In function `openMIDIout': > /home/bobby/csound/csound5/OOps/midisend.c:240: undefined reference to > `_midiOut > GetNumDevs@0' > midisend.o(.text+0x380):/home/bobby/csound/csound5/OOps/midisend.c:253: > undefine > d reference to `_midiOutGetDevCapsA@12' > midisend.o(.text+0x3c8):/home/bobby/csound/csound5/OOps/midisend.c:255: > undefine > d reference to `_midiOutOpen@20' > insert.o(.text+0x15c8): In function `kperf': > /home/bobby/csound/csound5/Engine/insert.c:681: undefined reference to > `_POLL_EV > ENTS' > insert.o(.text+0x1611):/home/bobby/csound/csound5/Engine/insert.c:689: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x6bb): In function `musmon': > /home/bobby/csound/csound5/Engine/musmon.c:235: undefined reference to > `_POLL_EV > ENTS' > musmon.o(.text+0x71c):/home/bobby/csound/csound5/Engine/musmon.c:252: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x7f9):/home/bobby/csound/csound5/Engine/musmon.c:289: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x822):/home/bobby/csound/csound5/Engine/musmon.c:295: more > undef > ined references to `_POLL_EVENTS' follow > pablio.o(.text+0x150): In function `WriteAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:131: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x1b0): In function `ReadAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:150: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x2a8): In function `OpenAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:213: undefined reference to > `_Pa_GetSa > mpleSize' > pablio.o(.text+0x2ce):/home/bobby/csound/csound5/InOut/pablio.c:223: > undefined r > eference to `_Pa_Initialize' > pablio.o(.text+0x2eb):/home/bobby/csound/csound5/InOut/pablio.c:229: > undefined r > eference to `_Pa_GetMinNumBuffers' > pablio.o(.text+0x3b0):/home/bobby/csound/csound5/InOut/pablio.c:241: > undefined r > eference to `_Pa_OpenStream' > pablio.o(.text+0x3c1):/home/bobby/csound/csound5/InOut/pablio.c:271: > undefined r > eference to `_Pa_StartStream' > pablio.o(.text+0x401):/home/bobby/csound/csound5/InOut/pablio.c:279: > undefined r > eference to `_Pa_GetDefaultInputDeviceID' > pablio.o(.text+0x444):/home/bobby/csound/csound5/InOut/pablio.c:253: > undefined r > eference to `_Pa_GetDefaultOutputDeviceID' > pablio.o(.text+0x4ae): In function `CloseAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:301: undefined reference to > `_Pa_StopS > tream' > pablio.o(.text+0x4bf):/home/bobby/csound/csound5/InOut/pablio.c:303: > undefined r > eference to `_Pa_CloseStream' > pablio.o(.text+0x4ca):/home/bobby/csound/csound5/InOut/pablio.c:305: > undefined r > eference to `_Pa_Terminate' > pablio.o(.text+0x4fd):/home/bobby/csound/csound5/InOut/pablio.c:296: > undefined r > eference to `_Pa_Sleep' > 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) > Info: resolving Fl::e_is_click by linking to > __imp___ZN2Fl10e_is_clickE (a > uto-import) > Info: resolving Fl::e_keysym by linking to __imp___ZN2Fl8e_keysymE > (auto-im > port) > Info: resolving vtable for Fl_Boxby linking to __imp___ZTV6Fl_Box > (auto-import) > Info: resolving vtable for Fl_Valuatorby linking to __imp___ZTV11Fl_Valuator > (au > to-import) > Info: resolving vtable for Fl_Inputby linking to __imp___ZTV8Fl_Input > (auto-impo > rt) > Info: resolving vtable for Fl_Value_Sliderby linking to > __imp___ZTV15Fl_Value_Sl > ider (auto-import) > Info: resolving vtable for Fl_Sliderby linking to __imp___ZTV9Fl_Slider > (auto-im > port) > collect2: ld returned 1 exit status > make: *** [csound] Error 1 > > bobby@bobby-junior ~/csound/csound5 > $ > > |
Date | 2003-11-05 03:58 |
From | "Bobby McNulty Junior" |
Subject | [CSOUND-DEV:3278] Re: proiblems with Csound 5 |
OK, I solved the portaudio problem. What do I do about the POLL_EVENTS? Bobby -----Original Message----- From: owner-csound-dev@eartha.mills.edu [mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of Bobby McNulty Junior Sent: Tuesday, November 04, 2003 8:33 PM To: Csound Developers Discussion List Subject: [CSOUND-DEV:3277] Re: proiblems with Csound 5 I'll solve that hhen I get a chance. I noticed in widgets.cpp, fstream.h is called. There is no fstream.h, just fstream. What do I do about the POLL_EVENTS? Should I give up under Cygwin and try Mingw? Bobby I tried some time back defining the Poll_EVENTS for Cygwin using Win32, my bad. Whiich switch do I define? -----Original Message----- From: owner-csound-dev@eartha.mills.edu [mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of stevenyi Sent: Tuesday, November 04, 2003 10:11 AM To: Csound Developers Discussion List Subject: [CSOUND-DEV:3264] Re: proiblems with Csound 5 Hi Bobby, If it's of any consequence, I thought I'd say I'm stuck too on cygwin. =o It looks like you don't have PortAudio linking in. Last I tried to compile on cygwin I got stuck during the compile phase so haven't gotten to this point yet. Good luck and hopefully we'll get through these soon! steven On Mon, 2003-12-01 at 21:37, Bobby McNulty Junior wrote: > Does anybody know how to fix these? > I'm trying to compile CSOUND5 under cygwin. > > gcc -g -O2 -DBETA -DWIN32 -D_CONSOLE -DSFIRCAM -o csound argdecode.o > cscore.o > cscorfns.o cvanal.o dl_opcodes.o dnoise.o getstring.o hetro.o jpff_glue.o > lpana > l.o main.o one_file.o opcode.o pvanal.o pvlook.o sndinfo.o scot.o > winascii.o wi > ndow.o windin.o winEPS.o aiff.o wave.o ieee80.o sfheader.o soundin.o > soundio.o a > ifc.o aops.o cmath.o control.o diskin.o disprep.o dnfft.o dsputil.o dumpf.o > fft. > o fout.o lptrkfns.o mididevice.o midiinterop.o midiops.o midiout.o > midirecv.o mi > disend.o mxfft.o oscils.o pitch0.o pstream.o pvadd.o pvfileio.o pvinterp.o > pvoc. > o pvocext.o pvread.o pvsanal.o pvxanal.o schedule.o sdif.o sdif-mem.o > sndinfUG.o > ugens1.o ugens2.o ugens3.o ugens4.o ugens5.o ugens6.o ugens7.o ugens8.o > ugens9. > o vbap.o vbap_eight.o vbap_four.o vbap_sixteen.o vbap_zak.o vdelay.o vpvoc.o > aux > fd.o entry1.o entry2.o express.o extract.o fgens.o filopen.o insert.o > linevent.o > memalloc.o memfiles.o musmon.o namedins.o oload.o otran.o rdorch.o rdscor.o > scs > ort.o scxtract.o sort.o sread.o swrite.o twarp.o rtpa.o pablio.o > ringbuffer.o w > idgets.o -mwindows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpth > read > -lstdc++ -L/usr/X11R6/lib -lm -lpthread -lX11 -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 > argdecode.o(.text+0x1acf): In function `dieu': > /home/bobby/csound/csound5/Top/argdecode.c:385: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x25d8): In function `decode_long': > /home/bobby/csound/csound5/Top/argdecode.c:643: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x2bf1):/home/bobby/csound/csound5/Top/argdecode.c:879: > undefi > ned reference to `_POLL_EVENTS' > argdecode.o(.text+0x2ea6): In function `argdecode': > /home/bobby/csound/csound5/Top/argdecode.c:1323: undefined reference to > `_POLL_E > VENTS' > argdecode.o(.text+0x30c1):/home/bobby/csound/csound5/Top/argdecode.c:1310: > undef > ined reference to `_POLL_EVENTS' > argdecode.o(.text+0x3708):/home/bobby/csound/csound5/Top/argdecode.c:1105: > more > undefined references to `_POLL_EVENTS' follow > mididevice.o(.text+0x8a): In function `OpenMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:202: undefined reference to > `_midiI > nGetNumDevs@0' > mididevice.o(.text+0xc3):/home/bobby/csound/csound5/OOps/mididevice.c:207: > undef > ined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x144):/home/bobby/csound/csound5/OOps/mididevice.c:215: > unde > fined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x198):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInOpen@20' > mididevice.o(.text+0x1ac):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInStart@4' > mididevice.o(.text+0x34f): In function `CloseMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:629: undefined reference to > `_midiI > nStop@4' > mididevice.o(.text+0x363):/home/bobby/csound/csound5/OOps/mididevice.c:629: > unde > fined reference to `_midiInReset@4' > mididevice.o(.text+0x389):/home/bobby/csound/csound5/OOps/mididevice.c:650: > unde > fined reference to `_midiInClose@4' > midisend.o(.text+0x26): In function `send_midi_message': > /home/bobby/csound/csound5/OOps/midisend.c:200: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x6c): In function `note_on': > /home/bobby/csound/csound5/OOps/midisend.c:205: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xa9): In function `note_off': > /home/bobby/csound/csound5/OOps/midisend.c:210: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xec): In function `control_change': > /home/bobby/csound/csound5/OOps/midisend.c:215: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x123): In function `after_touch': > /home/bobby/csound/csound5/OOps/midisend.c:220: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x153):/home/bobby/csound/csound5/OOps/midisend.c:225: more > und > efined references to `_midiOutShortMsg@8' follow > midisend.o(.text+0x2f8): In function `openMIDIout': > /home/bobby/csound/csound5/OOps/midisend.c:240: undefined reference to > `_midiOut > GetNumDevs@0' > midisend.o(.text+0x380):/home/bobby/csound/csound5/OOps/midisend.c:253: > undefine > d reference to `_midiOutGetDevCapsA@12' > midisend.o(.text+0x3c8):/home/bobby/csound/csound5/OOps/midisend.c:255: > undefine > d reference to `_midiOutOpen@20' > insert.o(.text+0x15c8): In function `kperf': > /home/bobby/csound/csound5/Engine/insert.c:681: undefined reference to > `_POLL_EV > ENTS' > insert.o(.text+0x1611):/home/bobby/csound/csound5/Engine/insert.c:689: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x6bb): In function `musmon': > /home/bobby/csound/csound5/Engine/musmon.c:235: undefined reference to > `_POLL_EV > ENTS' > musmon.o(.text+0x71c):/home/bobby/csound/csound5/Engine/musmon.c:252: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x7f9):/home/bobby/csound/csound5/Engine/musmon.c:289: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x822):/home/bobby/csound/csound5/Engine/musmon.c:295: more > undef > ined references to `_POLL_EVENTS' follow > pablio.o(.text+0x150): In function `WriteAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:131: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x1b0): In function `ReadAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:150: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x2a8): In function `OpenAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:213: undefined reference to > `_Pa_GetSa > mpleSize' > pablio.o(.text+0x2ce):/home/bobby/csound/csound5/InOut/pablio.c:223: > undefined r > eference to `_Pa_Initialize' > pablio.o(.text+0x2eb):/home/bobby/csound/csound5/InOut/pablio.c:229: > undefined r > eference to `_Pa_GetMinNumBuffers' > pablio.o(.text+0x3b0):/home/bobby/csound/csound5/InOut/pablio.c:241: > undefined r > eference to `_Pa_OpenStream' > pablio.o(.text+0x3c1):/home/bobby/csound/csound5/InOut/pablio.c:271: > undefined r > eference to `_Pa_StartStream' > pablio.o(.text+0x401):/home/bobby/csound/csound5/InOut/pablio.c:279: > undefined r > eference to `_Pa_GetDefaultInputDeviceID' > pablio.o(.text+0x444):/home/bobby/csound/csound5/InOut/pablio.c:253: > undefined r > eference to `_Pa_GetDefaultOutputDeviceID' > pablio.o(.text+0x4ae): In function `CloseAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:301: undefined reference to > `_Pa_StopS > tream' > pablio.o(.text+0x4bf):/home/bobby/csound/csound5/InOut/pablio.c:303: > undefined r > eference to `_Pa_CloseStream' > pablio.o(.text+0x4ca):/home/bobby/csound/csound5/InOut/pablio.c:305: > undefined r > eference to `_Pa_Terminate' > pablio.o(.text+0x4fd):/home/bobby/csound/csound5/InOut/pablio.c:296: > undefined r > eference to `_Pa_Sleep' > 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) > Info: resolving Fl::e_is_click by linking to > __imp___ZN2Fl10e_is_clickE (a > uto-import) > Info: resolving Fl::e_keysym by linking to __imp___ZN2Fl8e_keysymE > (auto-im > port) > Info: resolving vtable for Fl_Boxby linking to __imp___ZTV6Fl_Box > (auto-import) > Info: resolving vtable for Fl_Valuatorby linking to __imp___ZTV11Fl_Valuator > (au > to-import) > Info: resolving vtable for Fl_Inputby linking to __imp___ZTV8Fl_Input > (auto-impo > rt) > Info: resolving vtable for Fl_Value_Sliderby linking to > __imp___ZTV15Fl_Value_Sl > ider (auto-import) > Info: resolving vtable for Fl_Sliderby linking to __imp___ZTV9Fl_Slider > (auto-im > port) > collect2: ld returned 1 exit status > make: *** [csound] Error 1 > > bobby@bobby-junior ~/csound/csound5 > $ > > |
Date | 2003-11-05 05:08 |
From | "Bobby McNulty Junior" |
Subject | [CSOUND-DEV:3279] Re: proiblems with Csound 5 |
OK I got it working. Wondering why opcodes gives me errors Has that much changed between Csound 4 and Csound 5? -----Original Message----- From: owner-csound-dev@eartha.mills.edu [mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of Bobby McNulty Junior Sent: Tuesday, November 04, 2003 9:59 PM To: Csound Developers Discussion List Subject: [CSOUND-DEV:3278] Re: proiblems with Csound 5 OK, I solved the portaudio problem. What do I do about the POLL_EVENTS? Bobby -----Original Message----- From: owner-csound-dev@eartha.mills.edu [mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of Bobby McNulty Junior Sent: Tuesday, November 04, 2003 8:33 PM To: Csound Developers Discussion List Subject: [CSOUND-DEV:3277] Re: proiblems with Csound 5 I'll solve that hhen I get a chance. I noticed in widgets.cpp, fstream.h is called. There is no fstream.h, just fstream. What do I do about the POLL_EVENTS? Should I give up under Cygwin and try Mingw? Bobby I tried some time back defining the Poll_EVENTS for Cygwin using Win32, my bad. Whiich switch do I define? -----Original Message----- From: owner-csound-dev@eartha.mills.edu [mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of stevenyi Sent: Tuesday, November 04, 2003 10:11 AM To: Csound Developers Discussion List Subject: [CSOUND-DEV:3264] Re: proiblems with Csound 5 Hi Bobby, If it's of any consequence, I thought I'd say I'm stuck too on cygwin. =o It looks like you don't have PortAudio linking in. Last I tried to compile on cygwin I got stuck during the compile phase so haven't gotten to this point yet. Good luck and hopefully we'll get through these soon! steven On Mon, 2003-12-01 at 21:37, Bobby McNulty Junior wrote: > Does anybody know how to fix these? > I'm trying to compile CSOUND5 under cygwin. > > gcc -g -O2 -DBETA -DWIN32 -D_CONSOLE -DSFIRCAM -o csound argdecode.o > cscore.o > cscorfns.o cvanal.o dl_opcodes.o dnoise.o getstring.o hetro.o jpff_glue.o > lpana > l.o main.o one_file.o opcode.o pvanal.o pvlook.o sndinfo.o scot.o > winascii.o wi > ndow.o windin.o winEPS.o aiff.o wave.o ieee80.o sfheader.o soundin.o > soundio.o a > ifc.o aops.o cmath.o control.o diskin.o disprep.o dnfft.o dsputil.o dumpf.o > fft. > o fout.o lptrkfns.o mididevice.o midiinterop.o midiops.o midiout.o > midirecv.o mi > disend.o mxfft.o oscils.o pitch0.o pstream.o pvadd.o pvfileio.o pvinterp.o > pvoc. > o pvocext.o pvread.o pvsanal.o pvxanal.o schedule.o sdif.o sdif-mem.o > sndinfUG.o > ugens1.o ugens2.o ugens3.o ugens4.o ugens5.o ugens6.o ugens7.o ugens8.o > ugens9. > o vbap.o vbap_eight.o vbap_four.o vbap_sixteen.o vbap_zak.o vdelay.o vpvoc.o > aux > fd.o entry1.o entry2.o express.o extract.o fgens.o filopen.o insert.o > linevent.o > memalloc.o memfiles.o musmon.o namedins.o oload.o otran.o rdorch.o rdscor.o > scs > ort.o scxtract.o sort.o sread.o swrite.o twarp.o rtpa.o pablio.o > ringbuffer.o w > idgets.o -mwindows -lfltk -lole32 -luuid -lcomctl32 -lwsock32 -lsupc++ -lpth > read > -lstdc++ -L/usr/X11R6/lib -lm -lpthread -lX11 -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 > argdecode.o(.text+0x1acf): In function `dieu': > /home/bobby/csound/csound5/Top/argdecode.c:385: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x25d8): In function `decode_long': > /home/bobby/csound/csound5/Top/argdecode.c:643: undefined reference to > `_POLL_EV > ENTS' > argdecode.o(.text+0x2bf1):/home/bobby/csound/csound5/Top/argdecode.c:879: > undefi > ned reference to `_POLL_EVENTS' > argdecode.o(.text+0x2ea6): In function `argdecode': > /home/bobby/csound/csound5/Top/argdecode.c:1323: undefined reference to > `_POLL_E > VENTS' > argdecode.o(.text+0x30c1):/home/bobby/csound/csound5/Top/argdecode.c:1310: > undef > ined reference to `_POLL_EVENTS' > argdecode.o(.text+0x3708):/home/bobby/csound/csound5/Top/argdecode.c:1105: > more > undefined references to `_POLL_EVENTS' follow > mididevice.o(.text+0x8a): In function `OpenMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:202: undefined reference to > `_midiI > nGetNumDevs@0' > mididevice.o(.text+0xc3):/home/bobby/csound/csound5/OOps/mididevice.c:207: > undef > ined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x144):/home/bobby/csound/csound5/OOps/mididevice.c:215: > unde > fined reference to `_midiInGetDevCapsA@12' > mididevice.o(.text+0x198):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInOpen@20' > mididevice.o(.text+0x1ac):/home/bobby/csound/csound5/OOps/mididevice.c:225: > unde > fined reference to `_midiInStart@4' > mididevice.o(.text+0x34f): In function `CloseMIDIDevice': > /home/bobby/csound/csound5/OOps/mididevice.c:629: undefined reference to > `_midiI > nStop@4' > mididevice.o(.text+0x363):/home/bobby/csound/csound5/OOps/mididevice.c:629: > unde > fined reference to `_midiInReset@4' > mididevice.o(.text+0x389):/home/bobby/csound/csound5/OOps/mididevice.c:650: > unde > fined reference to `_midiInClose@4' > midisend.o(.text+0x26): In function `send_midi_message': > /home/bobby/csound/csound5/OOps/midisend.c:200: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x6c): In function `note_on': > /home/bobby/csound/csound5/OOps/midisend.c:205: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xa9): In function `note_off': > /home/bobby/csound/csound5/OOps/midisend.c:210: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0xec): In function `control_change': > /home/bobby/csound/csound5/OOps/midisend.c:215: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x123): In function `after_touch': > /home/bobby/csound/csound5/OOps/midisend.c:220: undefined reference to > `_midiOut > ShortMsg@8' > midisend.o(.text+0x153):/home/bobby/csound/csound5/OOps/midisend.c:225: more > und > efined references to `_midiOutShortMsg@8' follow > midisend.o(.text+0x2f8): In function `openMIDIout': > /home/bobby/csound/csound5/OOps/midisend.c:240: undefined reference to > `_midiOut > GetNumDevs@0' > midisend.o(.text+0x380):/home/bobby/csound/csound5/OOps/midisend.c:253: > undefine > d reference to `_midiOutGetDevCapsA@12' > midisend.o(.text+0x3c8):/home/bobby/csound/csound5/OOps/midisend.c:255: > undefine > d reference to `_midiOutOpen@20' > insert.o(.text+0x15c8): In function `kperf': > /home/bobby/csound/csound5/Engine/insert.c:681: undefined reference to > `_POLL_EV > ENTS' > insert.o(.text+0x1611):/home/bobby/csound/csound5/Engine/insert.c:689: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x6bb): In function `musmon': > /home/bobby/csound/csound5/Engine/musmon.c:235: undefined reference to > `_POLL_EV > ENTS' > musmon.o(.text+0x71c):/home/bobby/csound/csound5/Engine/musmon.c:252: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x7f9):/home/bobby/csound/csound5/Engine/musmon.c:289: > undefined > reference to `_POLL_EVENTS' > musmon.o(.text+0x822):/home/bobby/csound/csound5/Engine/musmon.c:295: more > undef > ined references to `_POLL_EVENTS' follow > pablio.o(.text+0x150): In function `WriteAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:131: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x1b0): In function `ReadAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:150: undefined reference to > `_Pa_Sleep > ' > pablio.o(.text+0x2a8): In function `OpenAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:213: undefined reference to > `_Pa_GetSa > mpleSize' > pablio.o(.text+0x2ce):/home/bobby/csound/csound5/InOut/pablio.c:223: > undefined r > eference to `_Pa_Initialize' > pablio.o(.text+0x2eb):/home/bobby/csound/csound5/InOut/pablio.c:229: > undefined r > eference to `_Pa_GetMinNumBuffers' > pablio.o(.text+0x3b0):/home/bobby/csound/csound5/InOut/pablio.c:241: > undefined r > eference to `_Pa_OpenStream' > pablio.o(.text+0x3c1):/home/bobby/csound/csound5/InOut/pablio.c:271: > undefined r > eference to `_Pa_StartStream' > pablio.o(.text+0x401):/home/bobby/csound/csound5/InOut/pablio.c:279: > undefined r > eference to `_Pa_GetDefaultInputDeviceID' > pablio.o(.text+0x444):/home/bobby/csound/csound5/InOut/pablio.c:253: > undefined r > eference to `_Pa_GetDefaultOutputDeviceID' > pablio.o(.text+0x4ae): In function `CloseAudioStream': > /home/bobby/csound/csound5/InOut/pablio.c:301: undefined reference to > `_Pa_StopS > tream' > pablio.o(.text+0x4bf):/home/bobby/csound/csound5/InOut/pablio.c:303: > undefined r > eference to `_Pa_CloseStream' > pablio.o(.text+0x4ca):/home/bobby/csound/csound5/InOut/pablio.c:305: > undefined r > eference to `_Pa_Terminate' > pablio.o(.text+0x4fd):/home/bobby/csound/csound5/InOut/pablio.c:296: > undefined r > eference to `_Pa_Sleep' > 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) > Info: resolving Fl::e_is_click by linking to > __imp___ZN2Fl10e_is_clickE (a > uto-import) > Info: resolving Fl::e_keysym by linking to __imp___ZN2Fl8e_keysymE > (auto-im > port) > Info: resolving vtable for Fl_Boxby linking to __imp___ZTV6Fl_Box > (auto-import) > Info: resolving vtable for Fl_Valuatorby linking to __imp___ZTV11Fl_Valuator > (au > to-import) > Info: resolving vtable for Fl_Inputby linking to __imp___ZTV8Fl_Input > (auto-impo > rt) > Info: resolving vtable for Fl_Value_Sliderby linking to > __imp___ZTV15Fl_Value_Sl > ider (auto-import) > Info: resolving vtable for Fl_Sliderby linking to __imp___ZTV9Fl_Slider > (auto-im > port) > collect2: ld returned 1 exit status > make: *** [csound] Error 1 > > bobby@bobby-junior ~/csound/csound5 > $ > > |
Date | 2003-11-05 15:29 |
From | stevenyi |
Subject | [CSOUND-DEV:3287] Re: proiblems with Csound 5 |
Hi Bobby, In case you didn't know, a lot of opcodes got pushed out from the core and into plugin libraries (they should have been compiled in the Opcodes directory and copied or linked over to the Plugins directory). Last I've checked with my test script there are still 10 or so plugins not loading at runtime due to missing symbols and also a bug with loading in bbcut that causes segfaults. steven On Tue, 2003-11-04 at 21:08, Bobby McNulty Junior wrote: > OK I got it working. > Wondering why opcodes gives me errors > Has that much changed between Csound 4 and Csound 5? > |
Date | 2003-11-19 09:09 |
From | jpff@codemist.co.uk |
Subject | [CSOUND-DEV:3401] Re: proiblems with Csound 5 |
Looks like a missing MIDI library and others, and the usual missing POLL_EVENTS. If you are not using FLTK graphics and not using MFC then POLL_EVENTS can be #defined to (1) This all ought to be part of the configure system, taking the "correct" definition of POLL_EVENTS -- or not at all if the API works fully. ==John ffitch |