From: jelling AT iitb DOT fhg DOT de (Andreas Jellinghaus) Subject: problems with linker 6 Sep 1997 22:42:29 -0700 Approved: cygnus DOT gnu-win32 AT cygnus DOT com Distribution: cygnus Message-ID: <19970905153053.19745.cygnus.gnu-win32@bsilx2.iitb.fhg.de> Reply-To: aj AT dungeon DOT inka DOT de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ENV: (mailgw2.fhg.de) jelling AT bsilx2 DOT iitb DOT fhg DOT de -> gnu-win32 AT cygnus DOT com DOT VIA-SMTP Original-To: gnu-win32 AT cygnus DOT com X-Mailer: Mutt 0.75 Original-Sender: owner-gnu-win32 AT cygnus DOT com i have big problems with the dynamic linker : there is a function Pof_Create that creates a linked list of type void*. we have a static table mOblist with entry Create, to typecast this to the right type, so we don't need to typecast with every function call. The items in this list should have the addresses of the Pof_ functions. when i link my program (calling the functions in this struct) static with the library (the struct and all functions are in this library), everything works ok. but if i create a simple or a relocable dll and link with the dll, the struct has bad values and i get segmentation faults. i don't know, what i can try next ... any hints ? thanks for your help. andreas - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".