Dinamic link?

Israel Fernández israel at seg.inf.cu
Thu Aug 29 17:51:22 BST 2002


El Jue 29 Ago 2002 12:28 PM, escribió:
> hi,
>
> $ gcc -rdynamic -o foo foo.c -ldl
>
> is needed for compilation/linking. What are you using?

In the Project->Option Dialog where to put this otion?
I've set it in the Additional flags of the Linker Flags tab, but the error 
continue!! :(

>
> regards,
> amit
>
> On Thursday 29 Aug 2002 9:55 pm, you wrote:
> > Me again ;)
> > I'm doing this in a test app:
> > __________________________________________
> > #include <iostream.h>
> > #include <stdlib.h>
> > #include <unistd.h>
> > #include <dlfcn.h>
> >
> > int main(int argc, char *argv[])
> > {
> >    void * handle = dlopen ("./libsh.so", RTLD_NOW);
> >
> >   return EXIT_SUCCESS;
> > }
> > ___________________________________________
> >
> > and I get a:
> > undefined reference to dlopen
> >
> > is there any compiler/linker option that must be set on?
> >
> > reg at rds
> > Israel
> >
> > El Jue 29 Ago 2002 02:26 AM, escribió:
> > > On Wednesday 28 August 2002 19:39, you wrote:
> > > > Heyyy! is a nice argue but nobody answer me, I read something about a
> > > > dlopen in a message and I hope man pages may help.
> > > > Now, can I use a class defined in a shred object linked dinamicaly,
> > > > just as I do with a static one?
> > >
> > > Sorry for our ignorance :)
> > >
> > > http://www.linuxjournal.com/article.php?sid=3687
> > >
> > > oliver
> > >
> > > -
> > > to unsubscribe from this list send an email to
> > > kdevelop-request at kdevelop.org with the following body: unsubscribe
> > > »your-email-address«

-- 
S at lu2
Israel Farnandez Cabrera


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list