Error in compiling

Added by joemcoy about 8 years ago

Hello Guys, I create one ubuntu 10.4 virtualized and all pass works, but i buy a new pc and i have problem in compiler code.

root@ryzom-server:/home/joemcoy/ryzom# $RYZOM_PATH/tools/scripts/linux/make_all
  • BUILD INIT NEL SUCCESS !
  • BUILD NEL SUCCESS !
  • BUILD NEL INSTALL SUCCESS !
rm: cannot remove `/home/joemcoy/ryzom/ryzom/code/ryzom/server/src/*/*.packed_sheets': No such file or directory
  • UPDATE RYZOM MAKEFILE COMMON SUCCESS !
  • BUILD RYZOM COMMON SUCCESS !
  • UPDATE RYZOM MAKEFILE SUCCESS !


  • BUILD RYZOM FAILED
    *******************************************
    exiting...

I look in log but i not undestand for found the error.

/usr/bin/ld: cannot find -lnelgeorges
collect2: ld returned 1 exit status
make2: * [log_analyser_service] Error 1
make2: Target `all' not remade because of errors.
make1:
[log_analyser_service-all] Error 2
/usr/bin/ld: cannot find -lnelnet
collect2: ld returned 1 exit status
make2:
[mail_forum_service] Error 1
make2: Target `all' not remade because of errors.
make1:
[mail_forum_service-all] Error 2
/usr/bin/ld: cannot find -lnelnet
collect2: ld returned 1 exit status
make2:
[logger_service] Error 1
make2: Target `all' not remade because of errors.
make1:
[logger_service-all] Error 2
make1: Target `night' not remade because of errors.
make: *
* [night] Error 2

  • BUILD RYZOM FAILED
    *******************************************
    what is wrong?

Replies (10)

RE: Error in compiling - Added by Priato about 8 years ago

Hello,
Have you send the following instruction : $RYZOM_PATH/tools/scripts/linux/buildmode static

Be sure than $RYZOM_PATH is set before (echo $RYZOM_PATH) and see if "Static linking" is set to "ON"

RE: Error in compiling - Added by joemcoy about 8 years ago

root@ryzom-server:/home/joemcoy/ryzom# export RYZOM_PATH="/home/joemcoy/ryzom/ryzom/code/ryzom"
root@ryzom-server:/home/joemcoy/ryzom# $RYZOM_PATH/tools/scripts/linux/buildmode static

Compilation modes :

Debug mode      : OFF
Static linking  : ON
Dynamic linking : OFF
Silent compilation  : OFF

root@ryzom-server:/home/joemcoy/ryzom# $RYZOM_PATH/tools/scripts/linux/make_all

  • BUILD INIT NEL SUCCESS !
  • BUILD NEL SUCCESS !
  • BUILD NEL INSTALL SUCCESS !

rm: cannot remove `/home/joemcoy/ryzom/ryzom/code/ryzom/server/src/*/*.packed_sheets': No such file or directory

  • UPDATE RYZOM MAKEFILE COMMON SUCCESS !
  • BUILD RYZOM COMMON SUCCESS !
  • UPDATE RYZOM MAKEFILE SUCCESS !
  • BUILD RYZOM FAILED *************************************
    exiting...

i think forget install any pack but i don´t see one way for check this.
:(

RE: Error in compiling - Added by Priato about 8 years ago

I don't know where to find log for. Maybe, looking into makefile to see if there is verbose mode for compilation (I can't see now).

RE: Error in compiling - Added by joemcoy about 8 years ago

I rented a new data center to use it in the shard, I'll redo it again to see where is my mistake because I built a Ubuntu on a VPS and compiled normally.

RE: Error in compiling - Added by joemcoy about 8 years ago

I create all server again and the compilation has error too.

look my make_all_error.log

http://200.164.228.252/make_all_error.log

whats is wrong?

RE: Error in compiling - Added by Priato about 8 years ago

Access denied for your URL

RE: Error in compiling - Added by joemcoy about 8 years ago

Ok I attach the logs

RE: Error in compiling - Added by joemcoy about 8 years ago

One simple question, compiling with CMake i will have the server?

RE: Error in compiling - Added by Priato about 8 years ago

I think you should have client and server: Everything shoult evolve to CMake but I don't know if it works now.
I don't understand why you have these link errors...

RE: Error in compiling - Added by demarii about 8 years ago

I've added a new Note to BuildForLinux which outlines the steps I used to get around this problem using the Cmake to compile and install the NeL libs. Hope that helps.

(1-10/10)