-ldl
----- Original Message -----
From: Rory Walsh <rorywalsh@ear.ie>
Date: Sunday, December 16, 2007 9:57 pm
Subject: Re: [Cs-dev] building API application errors...
To: Developer discussions <csound-devel@lists.sourceforge.net>
> I should have held that last post but since sending it I added a
> -lsndfile
> and -lpthread to my command line and now I only get the
> following errors:
>
>
> ubuntu@ubuntu:~/csound5$ gcc csdAPItest.cpp -o apitest -I./csound5/H
> -lcsound -lsndfile -pthread
> /usr/local/lib/libcsound.a(one_file.o): In function
> `csoundTmpFileName':/home/ubuntu/csound5/csound5/Top/one_file.c:88: warning: the use of
> `tmpnam' is dangerous, better use `mkstemp'
> /tmp/ccwJzlWN.o:(.eh_frame+0x11): undefined reference to
> `__gxx_personality_v0'
> /usr/local/lib/libcsound.a(csmodule.o): In function
> `csoundGetLibrarySymbol':/home/ubuntu/csound5/csound5/Top/csmodule.c:899: undefined reference to
> `dlsym'
> /usr/local/lib/libcsound.a(csmodule.o): In function
> `csoundCloseLibrary':/home/ubuntu/csound5/csound5/Top/csmodule.c:894: undefined reference to
> `dlclose'
> /usr/local/lib/libcsound.a(csmodule.o): In function
> `csoundOpenLibrary':/home/ubuntu/csound5/csound5/Top/csmodule.c:888: undefined reference to
> `dlopen'
> /usr/local/lib/libcsound.a(csmodule.o): In function
> `csoundLoadExternal':/home/ubuntu/csound5/csound5/Top/csmodule.c:229: undefined reference to
> `dlerror'
> collect2: ld returned 1 exit status
>
>
> > I'm trying to build a simple Csound app using the latest
> source from CVS
> > on a new linux installation but I'm getting the following
> errors, any
> > ideas? Perhaps I need to change my Csound build settings?
> >
> > Rory.
> >
> >
>
>
> -----------------------------------------------------------------
> --------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel