Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Compiling Dante server issu
« previous
next »
Print
Pages: [
1
]
Author
Topic: Compiling Dante server issu (Read 1530 times)
Damien V.
Newbie
Posts: 1
Karma: 0
Compiling Dante server issu
«
on:
September 10, 2020, 05:39:31 pm »
Hello,
I use OPNSense with my own Dante Sockd's integration.
For this, i need to compile ports /usr/ports/net/dante on OPNSense/hardenedBSD. It worked on OPNSense 20.1 but i have an error on 20.7 :
ld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in addressmatch.o
>>> referenced by addressmatch.c:499 (../lib/addressmatch.c:499)
>>> addressmatch.o:(addrmatch)
I've tried with -fPIC and -Wl,-z,notext but sockd coredump.
Compiling works on Freebsd 12.1 or Linux without error.
Do you have an idea of solution, please ?
Damien
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.7 Legacy Series
»
Compiling Dante server issu