Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] evms-0.9.2 build utilities problem
@ 2002-03-13 14:36 joel.soete
  2002-03-13 18:23 ` Randolph Chung
  0 siblings, 1 reply; 5+ messages in thread
From: joel.soete @ 2002-03-13 14:36 UTC (permalink / raw)
  To: parisc-linux

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)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-03-14 14:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-13 14:36 [parisc-linux] evms-0.9.2 build utilities problem joel.soete
2002-03-13 18:23 ` Randolph Chung
2002-03-14  6:40   ` joel.soete
2002-03-14  7:18     ` Randolph Chung
2002-03-14 14:55       ` John David Anglin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox