Re: Problem compiling a program and his libraries

2005-10-26 Thread Igor Pechtchanski
On Wed, 26 Oct 2005, cristian gonzalez wrote: > Hi.I need help whit cygwin and the compiling of libraries. > My problem is this: > I have a program with a function within.The program is this: > > void hello3(); > > main() > { > void *lib2; > void (*func1)(); > hello(); > lib2=dlopen("lib2.dll",RTL

Problem compiling a program and his libraries

2005-10-26 Thread cristian gonzalez
Hi.I need help whit cygwin and the compiling of libraries. My problem is this: I have a program with a function within.The program is this: void hello3(); main() { void *lib2; void (*func1)(); hello(); lib2=dlopen("lib2.dll",RTLD_LAZY); func1=dlsym(lib2,"hello2"); (*func1)(); } void hello3() {