[Scilab-Dev] PVM

Collette Yann ycollet at freesurf.fr
Wed Apr 16 13:44:09 CEST 2008


I am still having a compilation problem with pvm:

make[2]: entrant dans le répertoire « 
/local/scilab-dev/scilab/modules/javasci »
Buildfile: build.xml

init:

compile:

jar:

BUILD SUCCESSFUL
Total time: 0 seconds
make[2]: quittant le répertoire « /local/scilab-dev/scilab/modules/javasci »
make[1]: quittant le répertoire « /local/scilab-dev/scilab/modules »
make[1]: entrant dans le répertoire « /local/scilab-dev/scilab »
./bin/scilab -ns -nwni -f 
modules/functions/scripts/buildmacros/buildmacros.sce
/local/scilab-dev/scilab/.libs/lt-scilab-bin: symbol lookup error: 
/local/scilab-dev/scilab/modules/pvm/.libs/libscipvm.so.5: undefined 
symbol: PvmMin
make[1]: [macros] Erreur 127 (ignorée)
make[1]: quittant le répertoire « /local/scilab-dev/scilab »

This symbol is used only in modules/pvm/src/c/pvm_grp.c
This symbol is defined only in the library 
/usr/share/pvm3/lib/LINUX/libgpvm3.a

I have added in modules/pvm/Makefile a definition for LDFLAGS:
LDFLAGS=-L/usr/share/pvm3/lib/LINUX -lgpvm3 -lpvm3

And now, scilab with pvm compiles fine now.

YC

Collette Yann a écrit :
> No, just static libraries in the pvm directory.
> I have attached a list of files contained in this directory.
>
> YC
>
> Sylvestre Ledru a écrit :
>> Hello Yann,
>> Are you sure there is no dynamic library of PVM under Mandriva ?
>>
>> Under debian:
>> ~$ dpkg -L pvm-dev|grep pvm3.so
>> /usr/lib/libpvm3.so
>> /usr/lib/libgpvm3.so
>>
>>
>> If you confirm, I will add this check... However, I am not really keen
>> on linking static lib in the Scilab binary.
>>
>> Sylvestre
>>
>> Le mercredi 16 avril 2008 à 11:46 +0200, Collette Yann a écrit :
>>  
>>> Hello,
>>>
>>> under mandriva-200[78], pvm is shipped as a static library 
>>> (extension .a).
>>> So as to the library to recognized, you must a the "a" extension in 
>>> the m4/pvm.m4 file: libexts="a so so.1.0 sl dylib"
>>> Most of the time, the pvm library is stored in a directory (let's 
>>> call it DIR) which has for folliwing shape:
>>> $DIR/$PVM_ARCH.
>>> In the mandriva's case, it's /usr/share/pvm3/lib/LINUX (PVM_ARCH is 
>>> set to LINUX).
>>> So, you certainly must add:
>>> - /usr/share/pvm3/lib in the dirs variable of pvm.m4
>>> - and another "loop" to test the combination PATH_LIB_PVM/PVM_ARCH ...
>>>
>>> YC
>>>     
>>
>>   
>




More information about the dev mailing list