Linux PARISC architecture development
 help / color / mirror / Atom feed
From: joel.soete@freebel.net
To: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] evms-0.9.2 build utilities problem
Date: Wed, 13 Mar 2002 15:36:40 +0100 (CET)	[thread overview]
Message-ID: <1016030200.3c8f63f89a0ff@webmail.tiscali.be> (raw)

Hi all,

The original way to build some evms utilities as evms_devnode_fixup is:

...
gcc -Wall -fPIC -O2 -I/tools/evms-dpkg/evms-0.9.2/engine/include
-I/tools/evms-dpkg/evms-0.9.2/engine/dlist
-I/tools/evms-dpkg/evms-0.9.2/kernel-headers/include -I/usr/include
-I/usr/local/include -DPluginDirectory=\"/lib/evms\" -DEVMS_DEBUG -DPARANOID
-DMAJOR_VERSION=1 -DMINOR_VERSION=0 -DPATCH_LEVEL=0 -DVERSION=\"1.0.0\"
-DDATE=\"03/13/02\" -c -o evms_devnode_fixup.o evms_devnode_fixup.c
...
gcc -L/tools/evms-dpkg/evms-0.9.2/engine/Engine
-L/tools/evms-dpkg/evms-0.9.2/engine/dlist  -static -o evms_devnode_fixup
evms_devnode_fixup.o -levms -ldlist -lpthread -ldl

...
Well launch it made an immidiate Segmentation fault.

Now I recompile without "-fPIC" and it works fine.

Any idea on what is wrong?

Thanks in advance for help,
    Joel


-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)

             reply	other threads:[~2002-03-13 14:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-13 14:36 joel.soete [this message]
2002-03-13 18:23 ` [parisc-linux] evms-0.9.2 build utilities problem Randolph Chung
2002-03-14  6:40   ` joel.soete
2002-03-14  7:18     ` Randolph Chung
2002-03-14 14:55       ` John David Anglin

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=1016030200.3c8f63f89a0ff@webmail.tiscali.be \
    --to=joel.soete@freebel.net \
    --cc=parisc-linux@lists.parisc-linux.org \
    /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