Daimonin
Members login
Sign Up!      problems?
N F
* Daimonin Forum
Home Help Search Calendar

Welcome Guest, you have to register to post here.
Search

News

Stats
73710 Posts in 6687 Topics by 8103 Members
Latest Member: shambizzle
Daimonin Forum  |  Community  |  Tech support  |  Topic: Kubuntu feisty : server compil error BETA4 0.9.7 « previous next »
Pages: [1] Go Down Print
Topic: Kubuntu feisty : server compil error BETA4 0.9.7  (Read 755 times)
valombre
Small ant


Karma: +0/-0
Posts: 9


View Profile
« on: May 31, 2007, 09:42:08 pm »

Hello,
as i didn't find a .deb for the server side i tried the compilation ..but didn't work  :cry:
- download : Map Wizard Package - BETA4 0.9.7
- unzip it
- vim README.txt etc...
- installing sdl libs and dev  (1.2) + flex 2.5.33

It's my main computer, i tried compil on my laptop (exactly same version) with same errors.
I'll hope you'll have a solution or a .deb for the server version as i see the one for client.

For info : Kubuntu feisty 7.04 :
kernel => 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686
Code:

$gcc -v
Utilisation des specs internes.
Target: i486-linux-gnu
Configuré avec: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Modèle de thread: posix
version gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4)

Ok i'm french Wink

and .... the result :

Code:

$ sh configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
Enabling Lua Pentium optimizations
checking how to run the C preprocessor... gcc -E
checking for mawk... mawk
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for ranlib... ranlib
checking for flex... /usr/bin/flex
checking for mkdir... /bin/mkdir
checking for tar... /bin/tar
checking for makedepend... /usr/bin/makedepend
checking for cp... /bin/cp
checking for basename... /usr/bin/basename
checking for sed... /bin/sed
checking for rm... /bin/rm
checking for ar... /usr/bin/ar
checking for perl... /usr/bin/perl
checking for strip... /usr/bin/strip
checking size of long... 4
checking size of long long... 8
checking size of void *... 4
checking for sh... /bin/sh
checking for main in -lnsl... yes
checking for main in -lsocket... no
checking for main in -lm... yes
checking for main in -lcrypt... yes
checking for des_crypt in -ldes... no
checking for main in -ldmalloclp... no
checking for main in -ldl... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for strings.h... yes
checking for sys/file.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for unistd.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for sys/ttycom.h... no
checking for sys/termios.h... yes
checking for crypt.h... yes
checking for arpa/inet.h... yes
checking for des.h... no
checking for working const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uid_t in sys/types.h... yes
checking whether gcc needs -traditional... no
checking for 8-bit clean memcmp... yes
checking whether setpgrp takes no argument... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for gettimeofday... yes
checking for mkdir... yes
checking for mktime... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for strcspn... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for stricmp... no
checking for strnicmp... no
checking for snprintf... yes
checking for setsid... yes
checking for srandom... yes
checking for getdtablesize... yes
checking for srand48... yes
checking for srand... yes
checking for sysconf... yes
checking for scandir... yes
checking for getaddrinfo... yes
checking how many args gettimeofday uses... two arguments
updating cache ./config.cache
creating ./config.status
creating Makefile
creating ../../src/random_maps/Makefile
creating ../../src/socket/Makefile
creating ../../src/server/Makefile
creating ../../src/include/Makefile
creating ../../src/utils/Makefile
creating ../../src/common/Makefile
creating ../../src/tests/Makefile
creating ../../src/lua/config
creating ../../src/utils/dmonloop
creating ../../src/plugin_lua/Makefile
creating ../../src/include/autoconf.h
valombre@kelimvir:~/DDHUDGE/tmp/daimonin_mapmaker/server/make/linux$ make all
making all in ../../src/common...
make[1]: entrant dans le répertoire « /home/valombre/DDHUDGE/tmp/daimonin_mapmaker/server/src/common »
gcc -g -O2   -I../include -I./../include  -c aggro.c
Dans le fichier inclus à partir de ../include/includes.h:98,
          à partir de ../include/global.h:36,
          à partir de aggro.c:40:
../include/hashfunc.h:37:2: erreur: #error Unknown pointer size
Dans le fichier inclus à partir de aggro.c:40:
../include/global.h:76:2: erreur: #error Your compiler miss int64 support
In file included from ../include/global.h:361,
                 from aggro.c:40:
../include/object.h:122: erreur: expected specifier-qualifier-list before ‘sint64’
In file included from ../include/global.h:654,
                 from aggro.c:40:
../include/plugin.h:307: erreur: expected specifier-qualifier-list before ‘sint64’
In file included from ../include/global.h:656,
                 from aggro.c:40:
../include/libproto.h:221: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘material_repair_cost’
../include/libproto.h:340: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘find_ingred_cost’
In file included from ../include/global.h:658,
                 from aggro.c:40:
../include/sproto.h:545: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘query_cost’
../include/sproto.h:546: erreur: expected ‘)’ before ‘cost’
../include/sproto.h:548: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘query_money’
../include/sproto.h:549: erreur: expected ‘)’ before ‘to_pay’
../include/sproto.h:553: erreur: expected declaration specifiers or ‘...’ before ‘sint64’
../include/sproto.h:556: erreur: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘remove_money_type’
aggro.c: In function ‘aggro_get_damage’:
aggro.c:67: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:71: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:76: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:78: erreur: ‘struct obj’ has no member named ‘weight_limit’
aggro.c:78: erreur: ‘struct obj’ has no member named ‘weight_limit’
aggro.c:81: erreur: ‘struct obj’ has no member named ‘damage_round_tag’
aggro.c: In function ‘aggro_insert_damage’:
aggro.c:104: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:113: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:122: erreur: ‘struct obj’ has no member named ‘weight_limit’
aggro.c:122: erreur: ‘struct obj’ has no member named ‘weight_limit’
aggro.c:124: erreur: ‘struct obj’ has no member named ‘damage_round_tag’
aggro.c: In function ‘aggro_update_info’:
aggro.c:148: erreur: ‘struct obj’ has no member named ‘stats’
aggro.c:150: erreur: ‘struct obj’ has no member named ‘stats’
aggro.c:161: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:161: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:161: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:161: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:163: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:163: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:163: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:163: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:169: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:184: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:184: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:184: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:184: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:190: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:213: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:215: erreur: ‘struct obj’ has no member named ‘enemy_count’
aggro.c:217: erreur: ‘struct obj’ has no member named ‘damage_round_tag’
aggro.c:224: erreur: ‘struct obj’ has no member named ‘stats’
aggro.c:230: erreur: ‘struct obj’ has no member named ‘enemy_count’
aggro.c:231: erreur: ‘struct obj’ has no member named ‘enemy’
aggro.c:232: erreur: ‘struct obj’ has no member named ‘stats’
aggro.c:233: erreur: ‘struct obj’ has no member named ‘update_tag’
aggro.c:234: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:235: erreur: ‘struct obj’ has no member named ‘last_sp’
aggro.c:237: erreur: ‘struct obj’ has no member named ‘damage_round_tag’
aggro.c:240: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:244: erreur: ‘struct obj’ has no member named ‘type’
aggro.c:244: erreur: ‘struct obj’ has no member named ‘last_heal’
aggro.c:250: erreur: ‘struct obj’ has no member named ‘last_heal’
aggro.c:251: erreur: ‘struct obj’ has no member named ‘stats’
aggro.c:252: erreur: ‘struct obj’ has no member named ‘last_sp’
aggro.c:255: erreur: ‘struct obj’ has no member named ‘stats’
aggro.c: In function ‘calc_active_skill_dmg’:
aggro.c:278: erreur: ‘object’ has no member named ‘enemy’
aggro.c:283: erreur: ‘object’ has no member named ‘level’
aggro.c:286: erreur: ‘object’ has no member named ‘last_heal’
aggro.c:290: erreur: ‘object’ has no member named ‘level’
aggro.c:290: erreur: ‘object’ has no member named ‘last_heal’
aggro.c:291: erreur: ‘object’ has no member named ‘level’
aggro.c:291: erreur: ‘object’ has no member named ‘last_heal’
aggro.c:294: erreur: ‘object’ has no member named ‘stats’
aggro.c:300: erreur: ‘object’ has no member named ‘last_heal’
aggro.c:301: erreur: ‘object’ has no member named ‘stats’
aggro.c:303: erreur: ‘object’ has no member named ‘stats’
aggro.c:307: erreur: ‘object’ has no member named ‘last_heal’
aggro.c:308: erreur: ‘object’ has no member named ‘stats’
aggro.c:310: erreur: ‘object’ has no member named ‘stats’
aggro.c:312: erreur: ‘object’ has no member named ‘last_heal’
aggro.c:313: erreur: ‘object’ has no member named ‘stats’
aggro.c:316: erreur: ‘object’ has no member named ‘last_heal’
aggro.c:316: erreur: ‘object’ has no member named ‘stats’
aggro.c: In function ‘add_aggro_exp’:
aggro.c:326: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:328: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c: In function ‘aggro_exp_single’:
aggro.c:351: erreur: ‘object’ has no member named ‘enemy’
aggro.c:352: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:370: erreur: ‘object’ has no member named ‘level’
aggro.c:372: erreur: ‘object’ has no member named ‘level’
aggro.c:382: erreur: ‘object’ has no member named ‘level’
aggro.c:385: erreur: ‘object’ has no member named ‘stats’
aggro.c:389: erreur: ‘object’ has no member named ‘level’
aggro.c:392: erreur: ‘object’ has no member named ‘stats’
aggro.c:396: erreur: ‘object’ has no member named ‘level’
aggro.c:399: erreur: ‘object’ has no member named ‘stats’
aggro.c:404: erreur: ‘object’ has no member named ‘level’
aggro.c:414: erreur: ‘object’ has no member named ‘level’
aggro.c:418: erreur: ‘object’ has no member named ‘level’
aggro.c:429: erreur: ‘object’ has no member named ‘level’
aggro.c:433: erreur: ‘object’ has no member named ‘level’
aggro.c:437: erreur: ‘object’ has no member named ‘level’
aggro.c: In function ‘in_group_exp_range’:
aggro.c:471: erreur: ‘object’ has no member named ‘flags’
aggro.c:476: erreur: ‘object’ has no member named ‘flags’
aggro.c:481: erreur: ‘object’ has no member named ‘flags’
aggro.c:527: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c: In function ‘aggro_exp_group’:
aggro.c:537: erreur: ‘object’ has no member named ‘enemy’
aggro.c:553: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:555: erreur: ‘object’ has no member named ‘level’
aggro.c:555: erreur: ‘object’ has no member named ‘level’
aggro.c:564: erreur: ‘object’ has no member named ‘level’
aggro.c:568: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:570: erreur: ‘object’ has no member named ‘level’
aggro.c:570: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:583: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:585: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:587: erreur: ‘object’ has no member named ‘enemy’
aggro.c:587: erreur: ‘object’ has no member named ‘enemy’
aggro.c:600: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:604: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:606: erreur: ‘object’ has no member named ‘custom_attrset’
aggro.c:614: erreur: ‘object’ has no member named ‘enemy’
aggro.c:614: erreur: ‘object’ has no member named ‘enemy’
aggro.c:623: erreur: ‘object’ has no member named ‘enemy’
aggro.c:646: erreur: ‘object’ has no member named ‘level’
aggro.c:649: erreur: ‘object’ has no member named ‘stats’
aggro.c:653: erreur: ‘object’ has no member named ‘level’
aggro.c:656: erreur: ‘object’ has no member named ‘stats’
aggro.c:660: erreur: ‘object’ has no member named ‘level’
aggro.c:663: erreur: ‘object’ has no member named ‘stats’
aggro.c: In function ‘aggro_calculate_exp’:
aggro.c:695: erreur: ‘object’ has no member named ‘type’
aggro.c:716: erreur: ‘object’ has no member named ‘stats’
aggro.c:718: erreur: ‘object’ has no member named ‘type’
aggro.c:718: erreur: ‘object’ has no member named ‘damage_round_tag’
aggro.c:719: erreur: ‘object’ has no member named ‘enemy’
aggro.c:719: erreur: ‘object’ has no member named ‘enemy’
aggro.c:719: erreur: ‘object’ has no member named ‘enemy_count’
aggro.c:722: erreur: ‘object’ has no member named ‘stats’
aggro.c:725: erreur: ‘object’ has no member named ‘stats’
aggro.c:733: erreur: ‘object’ has no member named ‘enemy’
aggro.c:733: erreur: ‘object’ has no member named ‘last_sp’
aggro.c:733: erreur: ‘object’ has no member named ‘enemy’
aggro.c:733: erreur: ‘object’ has no member named ‘stats’
aggro.c:735: erreur: ‘object’ has no member named ‘enemy’
aggro.c:735: erreur: ‘object’ has no member named ‘enemy’
aggro.c:737: erreur: ‘object’ has no member named ‘enemy’
aggro.c:739: erreur: ‘object’ has no member named ‘stats’
aggro.c:741: erreur: ‘object’ has no member named ‘stats’
aggro.c:748: erreur: ‘object’ has no member named ‘enemy’
aggro.c:748: erreur: ‘object’ has no member named ‘stats’
aggro.c:751: erreur: ‘object’ has no member named ‘enemy’
aggro.c:752: erreur: ‘object’ has no member named ‘enemy’
aggro.c:762: erreur: ‘object’ has no member named ‘enemy’
aggro.c:764: erreur: ‘object’ has no member named ‘stats’
aggro.c:765: erreur: ‘object’ has no member named ‘enemy’
aggro.c:766: erreur: ‘object’ has no member named ‘enemy’
aggro.c:780: erreur: ‘object’ has no member named ‘stats’
aggro.c:782: erreur: ‘object’ has no member named ‘stats’
aggro.c:792: erreur: ‘object’ has no member named ‘enemy’
aggro.c:796: erreur: ‘object’ has no member named ‘enemy’
aggro.c:796: erreur: ‘object’ has no member named ‘enemy’
aggro.c:801: erreur: ‘object’ has no member named ‘enemy’
aggro.c:804: erreur: ‘object’ has no member named ‘enemy’
aggro.c:814: erreur: ‘struct obj’ has no member named ‘flags’
aggro.c:816: erreur: ‘object’ has no member named ‘enemy’
make[1]: *** [aggro.o] Erreur 1
make[1]: quittant le répertoire « /home/valombre/DDHUDGE/tmp/daimonin_mapmaker/server/src/common »
make: *** [all] Erreur 5
Logged
Weimar
Common Human


Karma: +0/-0
Posts: 62


View Profile
« Reply #1 on: June 01, 2007, 08:08:29 am »

I don't think this error should be happening Smiley You might try checking src/include/autoconf.h and making sure SIZEOF_LONG is defined to be 4, SIZEOF_LONG_LONG is 8, and SIZEOF_VOID_P is 4 (this matches what, I notice, `configure` output for you earlier). Then try recompiling?
Logged
valombre
Small ant


Karma: +0/-0
Posts: 9


View Profile
« Reply #2 on: June 04, 2007, 07:29:54 pm »

Hello,
i don't have an file src/include/autoconf.h but daimonin_mapmaker/server/src/include/autoconf.h.in

In it i found :
Code:

...
/* The size of a `long', as computed by sizeof. */
#undef SIZEOF_LONG

/* The size of a `long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG

/* The size of a `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
...


If you want me modify this file, please give me a more specific way of do it, i mean kind of code Wink

For info this week-end (as i was travelling with my laptop) i played with a daimonin server using wine .. and it works :p
But i would prefer using a "pure" linux server Smiley
Logged
Weimar
Common Human


Karma: +0/-0
Posts: 62


View Profile
« Reply #3 on: June 05, 2007, 07:06:28 am »

Quote from: "valombre"
Hello,
i don't have an file src/include/autoconf.h but daimonin_mapmaker/server/src/include/autoconf.h.in

In it i found :
Code:

...
/* The size of a `long', as computed by sizeof. */
#undef SIZEOF_LONG

/* The size of a `long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG

/* The size of a `void *', as computed by sizeof. */
#undef SIZEOF_VOID_P
...


If you want me modify this file, please give me a more specific way of do it, i mean kind of code Wink

No, autoconf.h.in isn't meant to be modified, and I believe the undefined sizeof constants you see are normal -- there, at least. AFAICT, autoconf.in.h is merely a template that the configure script will copy to autoconf.h and fill in the correct values for constants like SIZEOF_LONG. In any case, autoconf.h will be located in the same directory as autoconf.h.in.

I don't know if you ran a "make distclean" after you discovered make wasn't working, but if you did this would have cleared out all files generated during "configure", including autoconf.h (but leaving autoconf.h.in).

But try this -- navigate back to daimonin_mapmaker/server/make/linux, and do run "make distclean" just to start over, then run "sh configure" again. Then go to ../src/include and see if autoconf.h is there and if SIZEOF_LONG etc. are defined. If so, you should be good to go and what you experienced was merely a glitch. If not, we'll need to change some values in autoconf.h.
Logged
valombre
Small ant


Karma: +0/-0
Posts: 9


View Profile
« Reply #4 on: June 05, 2007, 10:32:42 am »

Oki, my fault .. i used "make distclean" it's why the autoconf.h wasn't present ..
I "sh configure" and edit the autoconf.h here are the values =>
Code:

...
/* The size of a `long', as computed by sizeof. */^M
/* #undef SIZEOF_LONG */^M
^M
/* The size of a `long long', as computed by sizeof. */^M
/* #undef SIZEOF_LONG_LONG */^M
^M
/* The size of a `void *', as computed by sizeof. */^M
/* #undef SIZEOF_VOID_P */^M
^M
...


What surprised me are the "^M" => file autoconf.h give : ASCII C program text, with CRLF, LF line terminators
i guess it's normal.
The "make all" still give same errors.
Logged
argh
Giant slime


Karma: +1/-0
Posts: 17


View Profile
« Reply #5 on: August 26, 2008, 10:22:26 pm »

I also met exactly the same problem when trying to compil the client and server :

I tried to compile from two different UBUNTU :
- Ubuntu 7.10 - Gutsy Gibbon
- Ubuntu X.XX (I don't remember)

I think that these problems are due to the "configure" script that fails to generate correctly the autoconfig.h (for the server) and define.h (for the client).

The configure script gathers information about the platform into the confdefs.h file and  create the ../../src/include/autoconfig.h file (for the server) and ../../src/include/define.h for the client.

The values from confdefs.h should appear into ../../src/include/autoconfig.h and in ../../src/include/define.h. But when editing those files it is not the case.


I managed to compile both server and client using the following hack:

I used the map maker package from 2007-05-26 20:31.

To compile the server:
1. Edit the server/make/linux/configure file (with a text editor)
2. Search for the following string
#define LOCALDIR "./data"
3. On the next line after EOF, type the following command
cp confdefs.h hack.h
4. Save and close the server/make/linux/configure file
5. Type the following command to clean
make distclean
6. Type the following command to regenerate the configuration (maybe you will need to add extra parameters)
./configure
7. Type the following command to replace the invalid autoconfig.h file
cp hack.h ../../src/include/autoconfig.h
8. Type the following command to compile all
make all

To compile the client:
1. Edit the client/make/linux/configure file (with a text editor)
2. Search for the following string
# VPATH may cause trouble with some makes, so we remove $(srcdir),
3. On the previous line, type the following command
cp confdefs.h hack.h
4. Save and close the client/make/linux/configure file
5. Type the following command to clean
make distclean
6. Type the following command to regenerate the configuration (maybe you will need to add extra parameters)
./configure
7. Type the following command to replace the invalid define.h file
cp hack.h ../../src/include/define.h
8. Type the following command to compile all
make all

« Last Edit: August 26, 2008, 10:28:18 pm by argh » Logged
argh
Giant slime


Karma: +1/-0
Posts: 17


View Profile
« Reply #6 on: October 04, 2008, 06:12:16 pm »

In my previous post, I wrongly referred to autoconfig.h instead of autoconf.h.

To compile the server :
Quote
1. Edit the server/make/linux/configure file (with a text editor)
2. Search for the following string
#define LOCALDIR "./data"
3. On the next line after EOF, type the following command
cp confdefs.h hack.h
4. Save and close the server/make/linux/configure file
5. Type the following command to clean
make distclean
6. Type the following command to regenerate the configuration (maybe you will need to add extra parameters)
./configure
7. Type the following command to replace the invalid autoconf.h file
cp hack.h ../../src/include/autoconf.h
8. Type the following command to compile all
make all
« Last Edit: October 04, 2008, 06:25:45 pm by argh » Logged
Pages: [1] Go Up Print 
Daimonin Forum  |  Community  |  Tech support  |  Topic: Kubuntu feisty : server compil error BETA4 0.9.7 « previous next »
Jump to:  

Page created in 0.188 seconds with 19 queries.
Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Copyright 2008 Daimonin MMORPG  •  Terms of Service  •  XHTML  •  Daimonin sourceforge open source project