[parisc-linux] evms-0.9.2 build utilities problem

joel.soete@freebel.net joel.soete@freebel.net
Wed, 13 Mar 2002 15:36:40 +0100 (CET)


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)