ADMB user is needing help

6 views
Skip to first unread message

Criscely Luján

unread,
Dec 14, 2022, 3:03:23 PM12/14/22
to us...@admb-project.org
Dear all,
After the installation of ADMB following the instructions in this link, when I try to build the simple example:

../../../../admb-12.3/admb simple.tpl

I have an error:

*** Parse: simple.tpl
tpl2cpp simple || tpl2rem simple

*** Compile: simple.cpp
g++ -c -std=c++14 -O3 -D_USE_MATH_DEFINES -DUSE_ADMB_CONTRIBS -I. -I"/home/criscely/Documentos/code/admb/admb-12.3/include" -I"/home/criscely/Documentos/code/admb/admb-12.3/include/contrib" -osimple.obj simple.cpp

*** Linking: simple.obj
g++ -std=c++14 -O3 -osimple simple.obj "/home/criscely/Documentos/code/admb/admb-12.3/lib/libadmb-contrib-x86_64-linux-g++11.a"

/usr/bin/ld: /home/criscely/Documentos/code/admb/admb-12.3/lib/libadmb-contrib-x86_64-linux-g++11.a(saflp-linad99-fvar2.obj): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: no se han podido establecer los tamaños de las secciones dinámicas: bad value
collect2: error: ld returned 1 exit status
Error: Could not build simple

After trying to solve this problem, I have not been able to do it.

This is very important for my job, and I need ADMB to compile a code.

So please, any person could try to help me?
Extra information, I am using Linux - Ubuntu.

Best regards,

Criscely

Johnoel Ancheta

unread,
Dec 14, 2022, 3:10:36 PM12/14/22
to Criscely Luján, us...@admb-project.org
Try building ADMB from source using the link below.

http://www.admb-project.org/downloads/admb-12.3/BuildingSourceUnix.html
> --
> To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@admb-project.org.
Reply all
Reply to author
Forward
0 new messages