public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andreas Jellinghaus <jelling@iitb.fhg.de>
To: gnu-win32@cygnus.com
Subject: problems with linker
Date: Fri, 05 Sep 1997 06:32:00 -0000	[thread overview]
Message-ID: <19970905153053.19745@bsilx2.iitb.fhg.de> (raw)

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@cygnus.com" with one line of text: "help".

             reply	other threads:[~1997-09-05  6:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-05  6:32 Andreas Jellinghaus [this message]
1997-09-07  0:10 ` Fergus Henderson
2000-08-17 18:57 Problems " Graeme Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19970905153053.19745@bsilx2.iitb.fhg.de \
    --to=jelling@iitb.fhg.de \
    --cc=gnu-win32@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).