[OpenSIPS-Users] Migrating 1.11.11 to debian 9
Vallimamod Abdullah - SIP Solutions
vma at sip.solutions
Fri Jan 17 05:52:21 EST 2020
Hi,
Have you tried compiling with -fPIC flag as suggested in the error message?
You may append it to CFLAGS and CXXFLAGS vars.
Best Regards,
--
Vallimamod Abdullah
SIP Solutions
vma at sip.solutions
linkedin.com/in/vallimamod
.
> On 16 Jan 2020, at 15:43, Alain Bieuzent <alain.bieuzent at free.fr> wrote:
>
> Hi All,
>
> I’m trying to migrate an old 1.11.11 opensips from Debian 7 to 9 and when i run make menuconfig i have this message error
>
> root at lbsip-glo-in02 /usr/src/opensips-1.11.11-notls make menuconfig
> Target architecture <x86_64>, host architecture <x86_64>
> cd menuconfig; make ; cd ..
> make[1]: Entering directory '/usr/src/opensips-1.11.11-notls/menuconfig'
> gcc -o configure -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" -DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1 cfg.o curses.o items.o commands.o menus.o parser.o main.o -lncurses
> /usr/bin/ld: cfg.o: relocation R_X86_64_32S against symbol `configs' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: curses.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: items.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: commands.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: menus.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: parser.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: main.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: error: ld returned 1 exit status
> Makefile:11: recipe for target 'all' failed
> make[1]: *** [all] Error 1
> make[1]: Leaving directory '/usr/src/opensips-1.11.11-notls/menuconfig'
> ./menuconfig/configure --local
> make: ./menuconfig/configure: Command not found
> Makefile:930: recipe for target 'menuconfig' failed
> make: *** [menuconfig] Error 127
>
>
> Someone have an idea ?
>
> Regards
>
> Alain
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list