hello,
I am trying to build the helix server at a gentoo system
(intel).
the first error:
build -u -c -y -m SERVER_11_1 -P helix-server-nodist
servinst
...
g++ -o dbg/hlxserver dbg/obj/par1/main.o
dbg/obj/par1/server_version.o
dbg/hlxserver_libs.a -L/usr/X11R6/lib -Wl,-Bstatic
/usr/lib/libbfd.a
-Wl,-Bdynamic -lm -liberty -ldl -lm
g++: /usr/lib/libbfd.a: No such file or directory
make: *** [dbg/hlxserver] Error 1
Time used: 0.96 seconds
ERROR: UNIXCompile(server/engine/bin/nodist) ERROR: Make
failed.
--- Build System Error ------------------------------------
Make failed.
-----------------------------------------------------------
...
Now I have created the following link:
ln -s /usr/i686-pc-linux-gnu/lib/libbfd.a /usr/lib/libbfd.a
build -u -c -y -m SERVER_11_1 -P helix-server-nodist
servinst
...
g++ -o dbg/hlxserver dbg/obj/par1/main.o
dbg/obj/par1/server_version.o
dbg/hlxserver_libs.a -L/usr/X11R6/lib -Wl,-Bstatic
/usr/lib/libbfd.a
-Wl,-Bdynamic -lm -liberty -ldl -lm
dbg/hlxserver_libs.a(servenglib._main.o): In function
`MakeThread(char
const*, SimpleCallback*, DispatchQueue*, int)':
/home/helix/helix-server/server/engine/core/_main.cpp:1258:
undefined
reference to `pthread_attr_setstack'
dbg/hlxserver_libs.a(servenglib._main.o): In function
`perform_restart()':
/home/helix/helix-server/server/engine/core/_main.cpp:2174:
undefined
reference to `pthread_kill'
collect2: ld returned 1 exit status
make: *** [dbg/hlxserver] Error 1
Time used: 3.77 seconds
ERROR: UNIXCompile(server/engine/bin/nodist) ERROR: Make
failed.
If I add the pthread library to the g++ call
g++ -o rel/hlxserver rel/obj/par1/main.o
rel/obj/par1/server_version.o
rel/obj/dlltab.o rel/hlxserver_libs.a -L/usr/X11R6/lib -lm
-ldl -lm
-lpthread
it seams to works, but I can't continue the server build.
My questions:
How can I change the path to libbfd.a?
How can I add the pthread library?
Thank you for your efforts
Uwe
_______________________________________________
Helix-server-dev mailing list
Helix-server-dev helixcommunity.org
http://lists.helixcommunity.org/mailman/listinf
o/helix-server-dev
|