Jump to content
  • 0

Copilation error


Vettra

Question


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  34
  • Reputation:   0
  • Joined:  07/19/17
  • Last Seen:  

Hello, I dont no how i fixed it, help pls.

Cent Os 6

gcc-c++-4.4.7-18.el6.x86_64 already installed

 

 

error:

[root@vps emulador]# ./configure && make clean && make server
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking for ar... /usr/bin/ar
checking whether byte ordering is bigendian... yes
configure: error: bigendian is not supported... stopping


 

Edited by Vettra
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

You atleast need gcc 5.1

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  34
  • Reputation:   0
  • Joined:  07/19/17
  • Last Seen:  

13 minutes ago, Cyro said:

You atleast need gcc 5.1

how i install GCC5 in cent os 6? I never use linux before :/

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  34
  • Reputation:   0
  • Joined:  07/19/17
  • Last Seen:  

@Cyro

I update GCC5, new erro, help pls

make[1]: Entering directory `/home/emulador/src/login'
        MKDIR   obj
        CC      account.c
        CC      ipban.c
        CXX     login.cpp
        CC      loginchrif.c
        CC      loginclif.c
        CC      logincnslif.c
        CC      loginlog.c
        LD      login-server
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/librt.so when searching for -lrt
/usr/bin/ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
obj/login.o: In function `do_shutdown()':
login.cpp:(.text+0x84): undefined reference to `do_shutdown_loginchrif()'
obj/login.o: In function `login_config_read(char const*, bool)':
login.cpp:(.text+0x10e6): undefined reference to `ipban_config_read(char const*, char const*)'
login.cpp:(.text+0x10f8): undefined reference to `loginlog_config_read(char const*, char const*)'
obj/login.o: In function `do_final':
login.cpp:(.text+0x1752): undefined reference to `login_log(unsigned int, char const*, int, char const*)'
login.cpp:(.text+0x177f): undefined reference to `ipban_final()'
login.cpp:(.text+0x1784): undefined reference to `do_final_loginclif()'
login.cpp:(.text+0x1789): undefined reference to `do_final_logincnslif()'
login.cpp:(.text+0x17c6): undefined reference to `do_final_loginchrif()'
login.cpp:(.text+0x1801): undefined reference to `loginlog_final()'
obj/login.o: In function `do_init':
login.cpp:(.text+0x185a): undefined reference to `account_db_sql()'
login.cpp:(.text+0x1870): undefined reference to `logcnslif_get_options(int, char**)'
login.cpp:(.text+0x18a7): undefined reference to `do_init_loginclif()'
login.cpp:(.text+0x18ac): undefined reference to `do_init_loginchrif()'
login.cpp:(.text+0x18be): undefined reference to `ipban_init()'
login.cpp:(.text+0x191d): undefined reference to `logclif_parse(int)'
login.cpp:(.text+0x19b5): undefined reference to `do_init_logincnslif()'
login.cpp:(.text+0x19de): undefined reference to `login_log(unsigned int, char const*, int, char const*)'
login.cpp:(.text+0x19f1): undefined reference to `loginlog_init()'
obj/login.o: In function `parse_console':
login.cpp:(.text+0xb1): undefined reference to `cnslif_parse(char const*)'
obj/loginchrif.o: In function `logchrif_parse_reqchangemail.part.0':
loginchrif.c:(.text+0x1b): undefined reference to `login_get_accounts_db'
obj/loginchrif.o: In function `logchrif_send_accdata':
loginchrif.c:(.text+0x757): undefined reference to `login_get_accounts_db'
obj/loginchrif.o: In function `logchrif_parse_requpdaccstate':
loginchrif.c:(.text+0xb2f): undefined reference to `login_get_accounts_db'
obj/loginchrif.o: In function `logchrif_parse_reqbanacc':
loginchrif.c:(.text+0xc61): undefined reference to `login_get_accounts_db'
obj/loginchrif.o: In function `logchrif_parse_reqchgsex':
loginchrif.c:(.text+0xe5a): undefined reference to `login_get_accounts_db'
obj/loginchrif.o:loginchrif.c:(.text+0x1029): more undefined references to `login_get_accounts_db' follow
obj/loginchrif.o: In function `logchrif_parse_setacconline':
loginchrif.c:(.text+0x1209): undefined reference to `login_add_online_user'
obj/loginchrif.o: In function `logchrif_parse_setaccoffline':
loginchrif.c:(.text+0x1254): undefined reference to `login_remove_online_user'
obj/loginchrif.o: In function `logchrif_parse_updonlinedb':
loginchrif.c:(.text+0x12cf): undefined reference to `login_online_db_setoffline'
loginchrif.c:(.text+0x132e): undefined reference to `login_create_online_user'
loginchrif.c:(.text+0x1358): undefined reference to `login_waiting_disconnect_timer'
obj/loginchrif.o: In function `logchrif_parse_req_global_accreg':
loginchrif.c:(.text+0x13eb): undefined reference to `login_get_accounts_db'
obj/loginchrif.o: In function `logchrif_parse_setalloffline':
loginchrif.c:(.text+0x14e0): undefined reference to `login_online_db_setoffline'
obj/loginchrif.o: In function `logchrif_parse_updpincode':
loginchrif.c:(.text+0x1553): undefined reference to `login_get_accounts_db'
obj/loginchrif.o: In function `logchrif_parse_pincode_authfail':
loginchrif.c:(.text+0x1633): undefined reference to `login_get_accounts_db'
loginchrif.c:(.text+0x16b1): undefined reference to `login_remove_online_user'
obj/loginchrif.o: In function `logchrif_parse_accinfo':
loginchrif.c:(.text+0x175e): undefined reference to `login_get_accounts_db'
obj/loginchrif.o: In function `logchrif_server_reset':
loginchrif.c:(.text+0x1ba0): undefined reference to `login_online_db_setoffline'
obj/loginclif.o: In function `logclif_auth_failed':
loginclif.c:(.text+0xe1): undefined reference to `login_msg_txt'
loginclif.c:(.text+0x183): undefined reference to `login_msg_txt'
loginclif.c:(.text+0x201): undefined reference to `login_get_accounts_db'
obj/loginclif.o: In function `logclif_parse_reqcharconnec':
loginclif.c:(.text+0x428): undefined reference to `login_mmo_auth'
obj/loginclif.o: In function `logclif_parse':
loginclif.c:(.text+0xad9): undefined reference to `login_mmo_auth'
loginclif.c:(.text+0x111d): undefined reference to `lan_subnetcheck'
loginclif.c:(.text+0x12ab): undefined reference to `login_add_online_user'
loginclif.c:(.text+0x12c3): undefined reference to `login_waiting_disconnect_timer'
loginclif.c:(.text+0x134e): undefined reference to `login_waiting_disconnect_timer'
loginclif.c:(.text+0x139a): undefined reference to `login_remove_online_user'
obj/logincnslif.o: In function `cnslif_parse':
logincnslif.c:(.text+0x46d): undefined reference to `login_config_read'
logincnslif.c:(.text+0x513): undefined reference to `login_mmo_auth_new'
collect2: error: ld returned 1 exit status
make[1]: *** [login-server] Error 1
make[1]: Leaving directory `/home/emulador/src/login'
make: *** [login] Error 2

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...