[MANJARO]Building trouble : linkage problem on syrthesppfunc

This forum is dedicated to Syrthes related issues, as the Syrthes tool does not have its own forum.
Post Reply
Josuez
Posts: 16
Joined: Thu Jun 27, 2019 6:15 am

[MANJARO]Building trouble : linkage problem on syrthesppfunc

Post by Josuez »

Hello Yvan and everyone

Hope you are doing good through these troubled times.
I went out of my comfort zone and looked for trouble as I tried to re-setup my working environment on a new system, so far one problem I don't know how to tackle has occurred.

A little bit of background : I am on the last version of Manjaro so Arch based, and using anaconda to manage python environments.
I am trying to build Syrthes4.3.5 after having successfully built Salome_mecaV2019.0.3 and Code_Saturne9.3.0, using salome_meca libraries for HDF5 CGNS MED and a python3.6.12 environment.
I attempt to build Syrthes4.3.5 using the automatic python installer.

As you understood from the title my problem occurs during the make call on syrthesppfunc
Konsole wrote: .
.
.
blablabla
.
.
.

- you ve chosen not to install "syrthescfd"

--> No precompiled GUI build /home/simulation/opt/syrthes4.3.5/src/syrthes-gui/exe.linux-x86_64

--> building GUI

/home/simulation/opt/syrthes4.3.5/src/
Installation : generation of python files ...
function report
NO file ERREUR.log

---------------------------------------------------------
Before using SYRTHES, each user must source
the /home/simulation/opt/syrthes4.3.5/arch/Linux_x86_64/bin/syrthes.profile file before using the code.

The easiest way is to put the following lines in each of the users
'.profile' or '.bashrc' (depending on the shell)

syrthesprofile=/home/simulation/opt/syrthes4.3.5/arch/Linux_x86_64/bin/syrthes.profile
#(adjust path to your system)
if [ -f $syrthesprofile ] ; then
. $syrthesprofile
fi

---------------------------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Warning : installation of some components failed
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Check log files for more information....
ERREUR.log wrote: ../syrthesppfunc.log:collect2: error: ld returned 1 exit status
../syrthesppfunc.log:make[1]: *** [Makefile:15: a.out] Error 1
../syrthesppfunc.log:make: *** [Makefile:40: ppfunc] Error 2
syrthesppfunc.log wrote: mkdir: missing operand
Try 'mkdir --help' for more information.
make -I /home/simulation/opt/syrthes4.3.5 -C ./syrthes-ppfunc/src clean
make[1]: Entering directory '/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/src'
mkdir: missing operand
Try 'mkdir --help' for more information.
rm -rf /home/simulation/opt/syrthes4.3.5/build//*.o
make[1]: Leaving directory '/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/src'
make -I /home/simulation/opt/syrthes4.3.5 -C ./syrthes-ppfunc/src
make[1]: Entering directory '/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/src'
mkdir: missing operand
Try 'mkdir --help' for more information.
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_cini.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_clim.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_clim_hmt.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_cphy.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_cphy.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_cvol.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_ecrire_vide.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_ecrire_vide.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_manip_chaine.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_manip_chaine.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_rescon.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o
ppfunc_cini.c: In function ‘cini_xx’:
ppfunc_cini.c:140:8: warning: implicit declaration of function ‘rep_listint’ [-Wimplicit-function-declaration]
140 | rep_listint(list_ilist[numlist],&nb,ch+id+ifin);
| ^~~~~~~~~~~
ppfunc_rescon.c: In function ‘rescon’:
ppfunc_rescon.c:135:5: warning: implicit declaration of function ‘rep_listint’ [-Wimplicit-function-declaration]
135 | rep_listint(list_ilist[numlist],&nb,ch+id+ifin);
| ^~~~~~~~~~~
ppfunc_clim.c: In function ‘clim_xx’:
ppfunc_clim.c:144:5: warning: implicit declaration of function ‘rep_listint’ [-Wimplicit-function-declaration]
144 | rep_listint(list_ilist[numlist],&nb,ch+id+ifin);
| ^~~~~~~~~~~
ppfunc_cvol.c: In function ‘condvol_xx’:
ppfunc_cvol.c:148:8: warning: implicit declaration of function ‘rep_listint’ [-Wimplicit-function-declaration]
148 | rep_listint(list_ilist[numlist],&nb,ch+id+ifin);
| ^~~~~~~~~~~
ppfunc_cphy.c: In function ‘lire_ecrire_prophy’:
ppfunc_cphy.c:116:4: warning: implicit declaration of function ‘extr_motcle_’ [-Wimplicit-function-declaration]
116 | extr_motcle_(motcle,ch,&i1,&i2);
| ^~~~~~~~~~~~
ppfunc_clim_hmt.c: In function ‘clim_hmt_hhh’:
ppfunc_clim_hmt.c:140:5: warning: implicit declaration of function ‘rep_listint’ [-Wimplicit-function-declaration]
140 | rep_listint(list_ilist[numlist],&nb,ch+id+ifin);
| ^~~~~~~~~~~
ppfunc_cphy.c:124:13: warning: implicit declaration of function ‘rep_ch’ [-Wimplicit-function-declaration]
124 | ifin=rep_ch(list_formule_rho[numlist],ch+id);
| ^~~~~~
ppfunc_cphy.c:176:8: warning: implicit declaration of function ‘rep_listint’ [-Wimplicit-function-declaration]
176 | rep_listint(list_ilist[numlist],&nb,ch+id+ifin);
| ^~~~~~~~~~~
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_rescon_hmt.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o
gcc -c -O3 -D _FILE_OFFSET_BITS=64 -I/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/include ppfunc_syrthes.c -o /home/simulation/opt/syrthes4.3.5/build//ppfunc_syrthes.o
ppfunc_syrthes.c:59:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
59 | main(argc,argv)
| ^~~~
ppfunc_syrthes.c: In function ‘main’:
ppfunc_syrthes.c:228:2: warning: implicit declaration of function ‘ecrire_vide_cini’; did you mean ‘ecrire_vide_cphy’? [-Wimplicit-function-declaration]
228 | ecrire_vide_cini();
| ^~~~~~~~~~~~~~~~
| ecrire_vide_cphy
ppfunc_syrthes.c:241:2: warning: implicit declaration of function ‘ecrire_vide_prophy’; did you mean ‘ecrire_vide_cphy’? [-Wimplicit-function-declaration]
241 | ecrire_vide_prophy();
| ^~~~~~~~~~~~~~~~~~
| ecrire_vide_cphy
ppfunc_syrthes.c:252:2: warning: implicit declaration of function ‘lire_ecrire_clim’; did you mean ‘lire_ecrire_chmt’? [-Wimplicit-function-declaration]
252 | lire_ecrire_clim();
| ^~~~~~~~~~~~~~~~
| lire_ecrire_chmt
ppfunc_syrthes.c:296:2: warning: implicit declaration of function ‘ecrire_vide_cini_hmt’; did you mean ‘ecrire_vide_rescon_hmt’? [-Wimplicit-function-declaration]
296 | ecrire_vide_cini_hmt();
| ^~~~~~~~~~~~~~~~~~~~
| ecrire_vide_rescon_hmt
ppfunc_syrthes.c:308:2: warning: implicit declaration of function ‘ecrire_vide_chmt’; did you mean ‘ecrire_vide_cphy’? [-Wimplicit-function-declaration]
308 | ecrire_vide_chmt();
| ^~~~~~~~~~~~~~~~
| ecrire_vide_cphy
ppfunc_syrthes.c:321:2: warning: implicit declaration of function ‘ecrire_vide_condvol_hmt’; did you mean ‘ecrire_vide_condvol’? [-Wimplicit-function-declaration]
321 | ecrire_vide_condvol_hmt();
| ^~~~~~~~~~~~~~~~~~~~~~~
| ecrire_vide_condvol
ppfunc_syrthes.c: In function ‘quel_model’:
ppfunc_syrthes.c:429:12: warning: implicit declaration of function ‘rep_int’ [-Wimplicit-function-declaration]
429 | model=rep_int(ch+i2+1);
| ^~~~~~~
ppfunc_rescon_hmt.c: In function ‘rescon_hmt’:
ppfunc_rescon_hmt.c:145:5: warning: implicit declaration of function ‘rep_listint’ [-Wimplicit-function-declaration]
145 | rep_listint(list_ilist[numlist],&nb,ch+id+ifin);
| ^~~~~~~~~~~
gcc -o /home/simulation/opt/syrthes4.3.5/arch/Linux_x86_64/bin/syrthes-ppfunc -O3 -D _FILE_OFFSET_BITS=64 /home/simulation/opt/syrthes4.3.5/build//*.o -lm
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0xcd540): multiple definition of `ch'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3ad80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0xcd140): multiple definition of `chs'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3a980): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0xcd940): multiple definition of `motcle'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3b180): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0xc3500): multiple definition of `list_ilist'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x0): multiple definition of `list_condi'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0xaae60): multiple definition of `list_formule'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0xcd540): multiple definition of `ch'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3ad80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0xcd140): multiple definition of `chs'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3a980): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0xcd940): multiple definition of `motcle'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3b180): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0x927c0): multiple definition of `list_formule1'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x927c0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0xc3500): multiple definition of `list_ilist'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0x0): multiple definition of `list_condi'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0x7a120): multiple definition of `list_formule2'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x7a120): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0x186a0): multiple definition of `list_formule6'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0x30d40): multiple definition of `list_formule5'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0x493e0): multiple definition of `list_formule4'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x493e0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0x61a80): multiple definition of `list_formule3'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x61a80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim.o:(.bss+0xaae60): multiple definition of `list_formule'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cphy.o:(.bss+0x147800): multiple definition of `ch'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3ad80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cphy.o:(.bss+0x147400): multiple definition of `chs'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3a980): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cphy.o:(.bss+0x147c00): multiple definition of `motcle'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3b180): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cphy.o:(.bss+0x13d7c0): multiple definition of `list_ilist'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cphy.o:(.bss+0x0): multiple definition of `list_condi'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x6bac0): multiple definition of `ch'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3ad80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x6b6c0): multiple definition of `chs'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3a980): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x6bec0): multiple definition of `motcle'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3b180): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x30d40): multiple definition of `list_formule1'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x927c0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x186a0): multiple definition of `list_formule2'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x7a120): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x61a80): multiple definition of `list_ilist'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x0): multiple definition of `list_condi'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_cvol.o:(.bss+0x493e0): multiple definition of `list_formule'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0xcd540): multiple definition of `ch'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3ad80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0xcd140): multiple definition of `chs'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3a980): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0xcd940): multiple definition of `motcle'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3b180): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0x927c0): multiple definition of `list_formule1'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x927c0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0x7a120): multiple definition of `list_formule2'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x7a120): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0x61a80): multiple definition of `list_formule3'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x61a80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0xc3500): multiple definition of `list_ilist'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0x0): multiple definition of `list_condi'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0x186a0): multiple definition of `list_formule6'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0x30d40): multiple definition of `list_formule5'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0x493e0): multiple definition of `list_formule4'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x493e0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon_hmt.o:(.bss+0xaae60): multiple definition of `list_formule'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0x927c0): multiple definition of `list_formule1'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x927c0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0xc3500): multiple definition of `list_ilist'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0xcd540): multiple definition of `ch'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3ad80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0xcd140): multiple definition of `chs'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3a980): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0xcd940): multiple definition of `motcle'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3b180): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0x0): multiple definition of `list_condi'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0x186a0): multiple definition of `list_formule6'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0x30d40): multiple definition of `list_formule5'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x30d40): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0x493e0): multiple definition of `list_formule4'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x493e0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0x61a80): multiple definition of `list_formule3'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x61a80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0x7a120): multiple definition of `list_formule2'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_clim_hmt.o:(.bss+0x7a120): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_rescon.o:(.bss+0xaae60): multiple definition of `list_formule'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x186a0): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_syrthes.o:(.bss+0x400): multiple definition of `ch'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3ad80): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_syrthes.o:(.bss+0x0): multiple definition of `chs'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3a980): first defined here
/usr/bin/ld: /home/simulation/opt/syrthes4.3.5/build//ppfunc_syrthes.o:(.bss+0x800): multiple definition of `motcle'; /home/simulation/opt/syrthes4.3.5/build//ppfunc_cini.o:(.bss+0x3b180): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:15: a.out] Error 1
make[1]: Leaving directory '/home/simulation/opt/syrthes4.3.5/src/syrthes-ppfunc/src'
make: *** [Makefile:40: ppfunc] Error 2
But fromt there I don't know where to look to find the faulty linkage.
Other than that the gui is built without problems.
I have reduced the dependencies to the minimum for troubleshooting. Only the salome_meca HDF5 and MED libraries are called for the build and you can check the setup.ini file attached to this post.

I have tried to run a test case just in case but it also exits immediately on a [collect2: error: ld returned 1 exit status] error.

Have you ever seen this behavior ?
Attachments
syrthesppfunc.log
(18.72 KiB) Downloaded 1 time
ERREUR.log
(188 Bytes) Downloaded 1 time
setup.ini
(4.04 KiB) Downloaded 1 time
Yvan Fournier
Posts: 3188
Joined: Mon Feb 20, 2012 3:25 pm

Re: [MANJARO]Building trouble : linkage problem on syrthesppfunc

Post by Yvan Fournier »

Hello,

Yes, I had a similar issue on Arch Linux, due to the more recent and picky tools.

In setup.ini, you can add linker options to work around this:
specific_lib= -Wl,--allow-multiple-definition
specific_option= -Wl,--allow-multiple-definition
Best regards,

Yvan
Josuez
Posts: 16
Joined: Thu Jun 27, 2019 6:15 am

Re: [MANJARO]Building trouble : linkage problem on syrthesppfunc

Post by Josuez »

As always thanks for the quick answer

I implemented your solution and this actually helped for some other problems that weren't highlighted during the installation.
As a result I can now run syrthes on test cases and get an output.

But syrthesppfunc still threw an error during the automatic installation, I haven't tested extensively but I suppose it will prevent me to define functions in my cases. This is the only module which fails to build.

I will attach the setup.ini and ERREUR.log
Attachments
ERREUR.log
(188 Bytes) Downloaded 2 times
setup.ini
(4.19 KiB) Downloaded 1 time
Yvan Fournier
Posts: 3188
Joined: Mon Feb 20, 2012 3:25 pm

Re: [MANJARO]Building trouble : linkage problem on syrthesppfunc

Post by Yvan Fournier »

Hello,

Do you have any other part of the error message in which the missing library name might appear ?

I am not sure of what ppfunc is used for, so do not know if you will miss it or not.

Best regards,

Yvan
Post Reply