On Mon, 31 Mar 2003 22:59:35 -0500
Ivica Bukvic <ico(a)fuse.net> wrote:
> I am trying to compile Gem from source (for Pd), and while it does compile
> without any problems at runtime (pd -lib Gem) I get the following issue:
>
> /usr/lib/pd/extra/Gem.pd_linux: /usr/lib/pd/extra/Gem.pd_linux: undefined
> symbol: __ctype_toupper_loc
> /usr/lib/pd/extra/Gem: can't load library
It seems that you have used the headers of an old glibc when compiling and try
to run with a newer glibc.
__ctype_toupper_loc was introduced in September 2002 glibc (don't
know the version-number).
Execute the file /lib/libc.so.6, it will tell you its version.
I don't know a way to look up the Version of your installed Header-Files
from glibc, maybe you can ask your Package-Manager.
Anyway, your Headers and Librarys MUST match !
> I tried building the static version, but then I get the following error:
> g++ -o Gem.pd_linux -L/usr/X11R6/lib -L../../../GemLibs/liborb ../Manips/*.o
> ../Particles/*.o ../Base/*.o ../MarkEx/*.o ../Pixes/*.o ../Controls/*.o
> ../Nongeos/*.o ../Geos/*.o ../openGL/*.o -shared -lquicktime -lmpeg3 -lorb
> -lglib -lgltt -lttf -ljpeg -ltiff -lpng -lglut -lGLU -lGL -Wl,-Bstatic -lz
> -lm -Wl,-shared -Wl,-export-dynamic -lXxf86vm -lXext -lX11
> /usr/bin/ld: cannot find -lgcc_s
> collect2: ld returned 1 exit status
Your gcc was configured with "--enable-shared" to use a shared libgcc (called
libgcc_s; only used for C++), but can't find it. See below
Also you dont really try to build the static version, as -shared -Wl,-shared
-Wl,-export-dynamic shows.
> I then checked
> ld -lgcc_s
>
> And the only thing I got was:
> ld: warning: cannot find entry symbol _start; not setting start address
> Now, could someone please tell me what the heck does this mean???
You have invoked the linker ld, ist is used to link a prog, not to query
dependencies
> ldd /usr/lib/libgcc_s.so gives:
> libc.so.6 => /lib/i686/libc.so.6 (0x4001a000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
You have the needed lgcc_s in a place where the linker normaly looks for it.
But
> /usr/bin/ld: cannot find -lgcc_s
says, that he can't find it ? Very strange ...
Try to alter the specs-file from your gcc, it should be in the syme location
as libgcc.a (try gcc --print-libgcc-file-name).
The specs file contains a line like
*libgcc:
-lgcc
replace -lgcc with the following line
"%{!shared:-lgcc} %{shared:/usr/lib/libgcc_s.so}"
(only valid for gcc3, i don't know if older gcc's use the same Syntax !!)
In case of an accident (the file is very sensible with spaces)
you can reconstruct the original specfile with
gcc -dumpspecs > specs; or simply delete the file, gcc has a copy of it
built in.
You my also have a look in the linker-scripts from ld, there location depends
on the configuration binutils, search for elf_i386*.
Then look if the SEARCH_DIR-Entrys includes "/usr/lib".
But the best thing you could do to solve your Problem is to reinstall your
glibc, glibc-devel, gcc, g++ and binutils-packages, when this does not not help,
consider switching to another distribution ...
Regards
Norbert
greetings all!
i am a bit of a controller freak and have just started looking into the
iCubeX system (http://www.infusionsystems.com/index.shtml). i used to
roll all of my own control devices, but i am a bit short on time as of
late (full time jobs tend to do that). i'd like to give this thing a
chance.
i see that paul davis (you rock, dude) wrote a gnu/linux editor for the
device that controls a limited subset of its features, but it looks like
the software hasn't been touched for some time.
i am interested in using it with pd primarily and possibly jmax. my
question is this: does anyone out there have any experience to share
with me re: using this gadget with gnu/linux /only/. i don't do windows
at home, so i'd like to know what i can expect.
anywho, enough of that...so, anyone know anything about this doo-dad?
thanks!
j.c.w.
Hi all,
This is the issue I've been dealing with for the past couple of hours. I am
using mostly vanilla Mdk 9.0.
I am trying to compile Gem from source (for Pd), and while it does compile
without any problems at runtime (pd -lib Gem) I get the following issue:
/usr/lib/pd/extra/Gem.pd_linux: /usr/lib/pd/extra/Gem.pd_linux: undefined
symbol: __ctype_toupper_loc
/usr/lib/pd/extra/Gem: can't load library
I've tracked this one to the gcc library (please correct me if I am wrong).
However, there are no errors at compile time:
g++ -o Gem.pd_linux -L/usr/X11R6/lib -L../../../GemLibs/liborb ../Manips/*.o
../Particles/*.o ../Base/*.o ../MarkEx/*.o ../Pixes/*.o ../Controls/*.o
../Nongeos/*.o ../Geos/*.o ../openGL/*.o -shared -lquicktime -lmpeg3 -lorb
-lglib -lgltt -lttf -ljpeg -ltiff -lpng -lglut -lGLU -lGL -lz -lm -Wl,-shared
-Wl,-export-dynamic -lXxf86vm -lXext -lX11
I also tried adding all over the place -lgcc like this:
g++ -o Gem.pd_linux -L/usr/X11R6/lib -L../../../GemLibs/liborb ../Manips/*.o
../Particles/*.o ../Base/*.o ../MarkEx/*.o ../Pixes/*.o ../Controls/*.o
../Nongeos/*.o ../Geos/*.o ../openGL/*.o -shared -lgcc -lquicktime -lmpeg3
-lorb -lglib -lgltt -lttf -ljpeg -ltiff -lpng -lglut -lGLU -lGL -lz -lm
-Wl,-shared -lgcc -Wl,-export-dynamic -lgcc -lXxf86vm -lXext -lX11
and the compile is successful, but I still keep getting the same error.
I tried building the static version, but then I get the following error:
g++ -o Gem.pd_linux -L/usr/X11R6/lib -L../../../GemLibs/liborb ../Manips/*.o
../Particles/*.o ../Base/*.o ../MarkEx/*.o ../Pixes/*.o ../Controls/*.o
../Nongeos/*.o ../Geos/*.o ../openGL/*.o -shared -lquicktime -lmpeg3 -lorb
-lglib -lgltt -lttf -ljpeg -ltiff -lpng -lglut -lGLU -lGL -Wl,-Bstatic -lz
-lm -Wl,-shared -Wl,-export-dynamic -lXxf86vm -lXext -lX11
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [Gem.pd_linux] Error 1
I then checked
ld -lgcc_s
And the only thing I got was:
ld: warning: cannot find entry symbol _start; not setting start address
Now, could someone please tell me what the heck does this mean???
ldd /usr/lib/libgcc_s.so gives:
libc.so.6 => /lib/i686/libc.so.6 (0x4001a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
At this point, I am confused and do not know what to do. I tried upgrading
ldconfig, ld, and am currently recompiling gcc from a cooker source (which is
taking a lot of time). So, I would greatly appreciate any help I can get on
this issue, since the whole idea of linking is not so clear to me.
Finally, I would appreciate the explanation of -Bstatic flag which seems to
invoke -lgcc_s that is subsequently not found for whatever reason, despite
the fact the ld otherwise finds it (with the aforementioned warning though).
Any help on this issue is greatly appreciated! Sincerely,
Ico
Hello,
I'm am sure this is off topic but I am desparately seeking help.
I am trying to figure out how the mixer/preamp/input card will coincide
with each other.
If I have a card with 4 inputs (either midiman digital or SB lives), I
will be needing preamps. I looked at the M-Audio Audio Buddy, which seems
like it simply has 2 XLR inputs and 2 1/4" outputs. That part is
straightforward and I understand.
However, I was looking at mixers and I got lost. I looked at a Eurorack
(cant remember which model) for around $170. It had 4 XLR inputs, and the
box said it had 4 mic preamp inputs. But, how do the outputs work? I was
looking for 4 1/4" jacks marked "output 1" "output 2" and so forth. Where
am I lost?
Please forgive me for asking such newbie questions. I simply do not know
where else to turn. I've searched the net high and low and didn't find the
answers.
Thank you very much in advance,
Bryan
Hello there
does anyone know of a tool that lets you convert visual images to sounds
(or better still, video)? i guess pd+externals can do it??
cheers
matthew
Hello,
I am new to this list, so please be gentle, and help me learn to use it.
I am announcing my project I have going on at SourceForge.
http://audiostar.sourceforge.nethttp://www.sourceforge.net/project/audiostar
The project is about creating real-time synthesis applications. It
targets to run on Linux and Windows, but with an emphasis to getting the
most out of Linux.
Audio* is a toolkit library of synthesis classes in C++ for creating
instruments and applications that make computer music. So far it has
been mostly concentrated on the only application so far, Mojo, an Analog
Modelling Synthesizer similar to Rebirth but more flexible than a 303
which tries to emulate classic synthesizer sounds of the 70's and 80's.
So far everything is in one big mess, and I am using KDevelop Studio as
I learn more about the Linux programming tools (I am coming from several
years of Windows programming, but little Unix background).
The project uses FLTK (because it's fast, light, and stupidly simple to
use). One project is to create a unified set of FLTK widgets
specifically for Audio programming (and probably port them to use GTK
and other widget libraries). So far I am using Port Audio as the sound
library, it works well. I don't have plans to create yet another low
level sound driver unless it is something many people would find useful.
The only application is the Mojo, and like I said, it's a Rebirth like
program but much more flexible and different (and doesn't really sound
like it either). It does have nice alias-free waveform generation though
of classic Analog waveforms, and some half-decent filters I designed.
I hope to find people interested in using it, or helping work on it, or
make this project grow into something cool. At least, I'd like to get
feedback. People on sourceforge don't send any feedback at all. It would
be nice to have just a small community of people interested in it's
development and using it and letting me know what is going on.
Thanks
Greetings:
I installed RealPlayer on a machine running RH 8.0 and PlanetCCRMA. At
first it worked fine, but now it gets the following error on startup
under KDE :
SNDCTL_DSP_SETFMT failed
Cannot allocate memory
Anyone know how to resolve the problem ? Is artsd the culprit here ?
RealPlayer also complains that another application has the sound
device. Weird: this machine has a SBLive installed with the PlanetC ALSA
drivers, I don't understand why RealPlayer complains about not being
able to access the device. So, how do I check to see who's hogging the
resources ?
Best regards,
== Dave Phillips
The Book Of Linux Music & Sound at http://www.nostarch.com/lms.htm
The Linux Soundapps Site at http://linux-sound.org
I have found a CD with audio files and would like to know what format
they are. (I know very little about different audio formats, sorry.)
The label on the CD says they are MP3, but the files have names like
1.wav 2.wav
mp3blaster 1.wav Bad sound file format.
cp 1.wav /tmp/1.mp3
mp3blaster /tmp/1.mp3 Sound device control error.
play 1.wav playing 1.wav
('play' plays the file and considering it's duration it is much too long
to be a normal .wav file, IMHO)
file 1.wav
1.wav: RIFF (little-endian) data, WAVE audio, Microsoft ADPCM, mono 44100 Hz
I thought WAVE was a format without compression? The duration of the files
(when played by 'play') shows that this is not possible. So what is it?
BTW: The file (loaded like a text file in emacs ;-) starts with
RIFFBä^BWAVEfmt 2 (where ^B is *one* byte)
Thank you for sharing your knowledge,
Robert
Hello,
I'm looking at (for now) utilizing the SB 128PCI's I have laying around
and doing 3 of those for input and 1 SB Live Value for midi and output.
Any recommendations against that, or thoughts that an SB 16 PCI would be
better? I have access to a few of those as well.
As I said in my posts awhile back, I have 2 instrument mics, 1 vocal mic,
and a keyboard with midi. The mics are all XLR with 1/4" (transformers?).
Will I be needing any preamps/mixer for these? If so any recommendations
for something with 3 mic preamps?
I apoligize for all the questions. I'm quite new to the audio world and
have only ever had real user experience with Soundforge on a win98 box :)
I'm looking forward to some hardcore stuff once I learn.
Thanks!
Bryan