Services compilation on Debian

Added by molator about 5 years ago

  • BUILD INIT NEL SUCCESS !
  • BUILD NEL SUCCESS !
  • BUILD NEL INSTALL SUCCESS !
  • BUILD INIT NELNS SUCCESS !
  • BUILD NELNS SUCCESS !
  • BUILD NELNS INSTALL SUCCESS !
  • UPDATE RYZOM MAKEFILE COMMON SUCCESS !
  • BUILD RYZOM COMMON SUCCESS !
  • UPDATE RYZOM MAKEFILE SUCCESS !

/usr/lib/gcc/i486-linux-gnu/4.3.2/../../../../lib/crt1.o: In function `_start': (.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make2: * [ryzom_admin_service] Erreur 1
make1: *
[ryzom_admin_service-all] Erreur 2

NeL and NeLNS compilation OK, everything installed
Services compilation error

Same error for each services.
This error arise when there's no main function.
I looked into some services, there's a reference to nel/net main.

Any suggestions ?


Replies (3)

RE: Services compilation on Debian - Added by molator about 5 years ago

I restart from the beginning.
Seems like i was messing with more outdated files that i thought.
Compilation in progress :).

RE: Services compilation on Debian - Added by molator about 5 years ago

I got one step futher.

I don't know if i can call it a problem, i've got no error..

make -k -C entities_game_service all
make2: /home/ryzom/code/ryzom/server/src/entities_game_service »

Dependencies found [OK]

g++ -c -g -pipe -fno-stack-protector -fno-strict-aliasing -Wall -D_REENTRANT -D_GNU_SOURCE -DFINAL_VERSION=1 -O3 -funroll-loops -DNL_RELEASE -I/usr/include/libxml2 -I/home/ryzom/code/ryzom/../../code/nel/include -I/home/ryzom/code/ryzom/common/src -I.. -I. player_manager/character.cpp -o player_manager/character.o

When entering in entities_game_service, the compilation seems to freeze reaching player_manager/character.cpp.

Will try manual compilation of that file and see.

RE: Services compilation on Debian - Added by molator about 5 years ago

Strange, it works manually and not with the makefile.

(1-3/3)