Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ Dawn of Time
➜ Installing/compiling the server
➜ Can't run Debug \dawn --createdirs
Can't run Debug \dawn --createdirs
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Cole
(6 posts) Bio
|
Date
| Tue 05 Feb 2008 04:21 PM (UTC) |
Message
| So close to the end of a perfect compilation I run into this very frustrating issue that I can't seem to get around when trying to compile Dawn of Time with Windows.
I've tried both Cygwin and Visual C++ 9.0 compilation methods but both result in effectively the same issue.
Cygwin says that the directory can't be found when using the debug \dawn --createdirs command at the end of the installation process, even though each instruction was followed exactly.
When compiling (Ctrl-F5) with VC++ v9.0 an error appears which indicates that "dawn - Debug Win32" is out of date. Would you like to build it? [y/n]
Each response results in an error message along the lines of:
c:\dawn\debug\dawn.exe
The NTVDM CPU has encountered an illegal instruction.
CS:136a IP:0174 OP:63 6f 6d 3a 61 Choose 'Close' to terminate the application. [Close/Ignore]
Close ends the process. Ingore repeats a similar message (except with a different four digits after IP:) seemingly indefinitely.
I would greatly appreciate any advice anyone can give me. I beg your assistance.
Sincerely,
Cole | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #1 on Tue 05 Feb 2008 06:52 PM (UTC) |
Message
| I can try it myself if you give me a link to the exact file name that you downloaded and are trying to compile. There have been a few releases of Dawn, and this issue may only apply to one of them. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Cole
(6 posts) Bio
|
Date
| Reply #2 on Tue 05 Feb 2008 11:21 PM (UTC) |
Message
| Enclosed are the URLs of the source packages that I'm working with, as well as the instructions that I attempted to follow so you can see what I did step by step and exactly where I received the error messages in both installation processes which I tried.
I attemped to use both the Cygwin method as well as VC++ v9.0.
Download Links:
http://www.dawnoftime.org/download/dawn1.69r-src.tgz
http://www.dawnoftime.org/download/dawn1.69r-support.tgz
http://www.dawnoftime.org/getting_started.html
I believe that the problems are related because both seem to have something to do with the final debug step.
Thank you for your attention. | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #3 on Wed 06 Feb 2008 02:27 AM (UTC) |
Message
| Well it seemed to work OK for me. These are the steps I took, perhaps you can see where yours differ. I compiled under Cygwin (a reasonably recent download). I started in my Cygwin home directory, after putting into it the two files you mentioned. Things I typed or did are in bold.
$ tar xzf dawn1.69r-src.tgz
$ tar xzf dawn1.69r-support.tgz
$ cd dawn1.69r
$ cd configure
$ ./configure
checking for g++... g++
checking for C++ compiler default output... a.exe
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for pid_t... yes
checking for size_t... yes
checking if socklen_t defined... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strstr... yes
checking for deflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BSD make...
Not found
checking for GNU make... make
Found
configure: creating ./config.status
config.status: creating ../makefile
config.status: creating ../config.h
$ cd ..
$ make
g++ -c -Wall -g -O act_comm.cpp -o obj/act_comm.o
g++ -c -Wall -g -O act_ente.cpp -o obj/act_ente.o
g++ -c -Wall -g -O act_info.cpp -o obj/act_info.o
g++ -c -Wall -g -O act_move.cpp -o obj/act_move.o
g++ -c -Wall -g -O act_obj.cpp -o obj/act_obj.o
g++ -c -Wall -g -O act_wiz.cpp -o obj/act_wiz.o
g++ -c -Wall -g -O act_wiz2.cpp -o obj/act_wiz2.o
g++ -c -Wall -g -O aedit.cpp -o obj/aedit.o
g++ -c -Wall -g -O affects.cpp -o obj/affects.o
g++ -c -Wall -g -O alias.cpp -o obj/alias.o
g++ -c -Wall -g -O areas.cpp -o obj/areas.o
g++ -c -Wall -g -O autostat.cpp -o obj/autostat.o
g++ -c -Wall -g -O ban.cpp -o obj/ban.o
g++ -c -Wall -g -O banedit.cpp -o obj/banedit.o
g++ -c -Wall -g -O base64.cpp -o obj/base64.o
g++ -c -Wall -g -O bit.cpp -o obj/bit.o
g++ -c -Wall -g -O cedit.cpp -o obj/cedit.o
g++ -c -Wall -g -O channels.cpp -o obj/channels.o
g++ -c -Wall -g -O chardata.cpp -o obj/chardata.o
g++ -c -Wall -g -O clan.cpp -o obj/clan.o
g++ -c -Wall -g -O clanedit.cpp -o obj/clanedit.o
g++ -c -Wall -g -O class.cpp -o obj/class.o
g++ -c -Wall -g -O colour.cpp -o obj/colour.o
g++ -c -Wall -g -O comedit.cpp -o obj/comedit.o
g++ -c -Wall -g -O comm.cpp -o obj/comm.o
g++ -c -Wall -g -O connect.cpp -o obj/connect.o
connect.cpp: In member function `void connection_data::close_socket()':
connect.cpp:214: error: expected `)' before '{' token
make: *** [connect.o] Error 1
Changed line 214 in connect.cpp to:
if(shutdown(connected_socket, 2)!=0 ){
$ make
g++ -c -Wall -g -O connect.cpp -o obj/connect.o
g++ -c -Wall -g -O const.cpp -o obj/const.o
g++ -c -Wall -g -O corpse.cpp -o obj/corpse.o
g++ -c -Wall -g -O cust_col.cpp -o obj/cust_col.o
g++ -c -Wall -g -O d2magsys.cpp -o obj/d2magsys.o
g++ -c -Wall -g -O dawnlib.cpp -o obj/dawnlib.o
g++ -c -Wall -g -O dawnlog.cpp -o obj/dawnlog.o
g++ -c -Wall -g -O dawnstat.cpp -o obj/dawnstat.o
dawnstat.cpp: In function `void dawnstat_initiate_connection()':
dawnstat.cpp:334: error: aggregate `addrinfo hints' has incomplete type and cann
ot be defined
dawnstat.cpp:335: error: invalid application of `sizeof' to incomplete type `add
rinfo'
dawnstat.cpp:336: error: `AI_NUMERICHOST' undeclared (first use this function)
dawnstat.cpp:336: error: (Each undeclared identifier is reported only once for e
ach function it appears in.)
dawnstat.cpp:338: error: `AF_INET6' undeclared (first use this function)
dawnstat.cpp:344: error: `freeaddrinfo' undeclared (first use this function)
dawnstat.cpp:348: error: `getaddrinfo' undeclared (first use this function)
dawnstat.cpp:369: error: `gai_strerror' undeclared (first use this function)
dawnstat.cpp:409: error: invalid use of undefined type `struct addrinfo'
dawnstat.cpp:63: error: forward declaration of `struct addrinfo'
dawnstat.cpp:409: error: invalid use of undefined type `struct addrinfo'
dawnstat.cpp:63: error: forward declaration of `struct addrinfo'
dawnstat.cpp:409: error: invalid use of undefined type `struct addrinfo'
dawnstat.cpp:63: error: forward declaration of `struct addrinfo'
dawnstat.cpp:439: error: invalid use of undefined type `struct addrinfo'
dawnstat.cpp:63: error: forward declaration of `struct addrinfo'
dawnstat.cpp:439: error: invalid use of undefined type `struct addrinfo'
dawnstat.cpp:63: error: forward declaration of `struct addrinfo'
dawnstat.cpp: In function `void dawnstat_process_connect()':
dawnstat.cpp:537: error: invalid use of undefined type `struct addrinfo'
dawnstat.cpp:63: error: forward declaration of `struct addrinfo'
dawnstat.cpp:537: error: invalid use of undefined type `struct addrinfo'
dawnstat.cpp:63: error: forward declaration of `struct addrinfo'
make: *** [dawnstat.o] Error 1
Changed line 46 in config.h to:
//#define IPV6_SUPPORT_ENABLED
$ make
g++ -c -Wall -g -O dawnstat.cpp -o obj/dawnstat.o
g++ -c -Wall -g -O db.cpp -o obj/db.o
g++ -c -Wall -g -O db2.cpp -o obj/db2.o
g++ -c -Wall -g -O debug.cpp -o obj/debug.o
g++ -c -Wall -g -O deity.cpp -o obj/deity.o
g++ -c -Wall -g -O duel.cpp -o obj/duel.o
g++ -c -Wall -g -O dynamics.cpp -o obj/dynamics.o
g++ -c -Wall -g -O dyntable.cpp -o obj/dyntable.o
g++ -c -Wall -g -O effects.cpp -o obj/effects.o
g++ -c -Wall -g -O exitlist.cpp -o obj/exitlist.o
g++ -c -Wall -g -O ey_crypt.cpp -o obj/ey_crypt.o
g++ -c -Wall -g -O fight.cpp -o obj/fight.o
g++ -c -Wall -g -O flags.cpp -o obj/flags.o
g++ -c -Wall -g -O ftp.cpp -o obj/ftp.o
g++ -c -Wall -g -O gamble.cpp -o obj/gamble.o
g++ -c -Wall -g -O gameedit.cpp -o obj/gameedit.o
g++ -c -Wall -g -O gio.cpp -o obj/gio.o
g++ -c -Wall -g -O global.cpp -o obj/global.o
g++ -c -Wall -g -O grpedit.cpp -o obj/grpedit.o
g++ -c -Wall -g -O handler.cpp -o obj/handler.o
g++ -c -Wall -g -O healer.cpp -o obj/healer.o
g++ -c -Wall -g -O hedit.cpp -o obj/hedit.o
g++ -c -Wall -g -O help.cpp -o obj/help.o
g++ -c -Wall -g -O herbedit.cpp -o obj/herbedit.o
g++ -c -Wall -g -O hreboot.cpp -o obj/hreboot.o
g++ -c -Wall -g -O ictime.cpp -o obj/ictime.o
g++ -c -Wall -g -O immquest.cpp -o obj/immquest.o
g++ -c -Wall -g -O interp.cpp -o obj/interp.o
g++ -c -Wall -g -O intro.cpp -o obj/intro.o
g++ -c -Wall -g -O intro_ex.cpp -o obj/intro_ex.o
g++ -c -Wall -g -O ispell.cpp -o obj/ispell.o
g++ -c -Wall -g -O jail.cpp -o obj/jail.o
g++ -c -Wall -g -O langedit.cpp -o obj/langedit.o
g++ -c -Wall -g -O language.cpp -o obj/language.o
g++ -c -Wall -g -O laston.cpp -o obj/laston.o
g++ -c -Wall -g -O letters.cpp -o obj/letters.o
g++ -c -Wall -g -O lockers.cpp -o obj/lockers.o
g++ -c -Wall -g -O lookup.cpp -o obj/lookup.o
g++ -c -Wall -g -O magic.cpp -o obj/magic.o
g++ -c -Wall -g -O magic_ce.cpp -o obj/magic_ce.o
g++ -c -Wall -g -O magic_da.cpp -o obj/magic_da.o
g++ -c -Wall -g -O magic_ja.cpp -o obj/magic_ja.o
g++ -c -Wall -g -O magic_ke.cpp -o obj/magic_ke.o
g++ -c -Wall -g -O magic_ob.cpp -o obj/magic_ob.o
g++ -c -Wall -g -O magic_qu.cpp -o obj/magic_qu.o
g++ -c -Wall -g -O magic_ra.cpp -o obj/magic_ra.o
g++ -c -Wall -g -O magic_re.cpp -o obj/magic_re.o
g++ -c -Wall -g -O magic_sb.cpp -o obj/magic_sb.o
g++ -c -Wall -g -O magic_ti.cpp -o obj/magic_ti.o
g++ -c -Wall -g -O map.cpp -o obj/map.o
map.cpp: In function `void do_map(char_data*, char*)':
map.cpp:766: warning: right-hand operand of comma has no effect
map.cpp:768: warning: right-hand operand of comma has no effect
g++ -c -Wall -g -O match.cpp -o obj/match.o
g++ -c -Wall -g -O medit.cpp -o obj/medit.o
g++ -c -Wall -g -O mem.cpp -o obj/mem.o
g++ -c -Wall -g -O mix.cpp -o obj/mix.o
g++ -c -Wall -g -O mixedit.cpp -o obj/mixedit.o
g++ -c -Wall -g -O mob_cmds.cpp -o obj/mob_cmds.o
g++ -c -Wall -g -O mob_prog.cpp -o obj/mob_prog.o
g++ -c -Wall -g -O mob_q.cpp -o obj/mob_q.o
g++ -c -Wall -g -O mount.cpp -o obj/mount.o
g++ -c -Wall -g -O msp.cpp -o obj/msp.o
g++ -c -Wall -g -O mud2web.cpp -o obj/mud2web.o
g++ -c -Wall -g -O mxp.cpp -o obj/mxp.o
g++ -c -Wall -g -O namegen.cpp -o obj/namegen.o
g++ -c -Wall -g -O nanny.cpp -o obj/nanny.o
g++ -c -Wall -g -O netio.cpp -o obj/netio.o
g++ -c -Wall -g -O network.cpp -o obj/network.o
g++ -c -Wall -g -O noble.cpp -o obj/noble.o
g++ -c -Wall -g -O note.cpp -o obj/note.o
g++ -c -Wall -g -O notenet.cpp -o obj/notenet.o
g++ -c -Wall -g -O o_lookup.cpp -o obj/o_lookup.o
g++ -c -Wall -g -O obdb.cpp -o obj/obdb.o
g++ -c -Wall -g -O obskill.cpp -o obj/obskill.o
g++ -c -Wall -g -O oedit.cpp -o obj/oedit.o
g++ -c -Wall -g -O offmoot.cpp -o obj/offmoot.o
g++ -c -Wall -g -O olc.cpp -o obj/olc.o
g++ -c -Wall -g -O olc_act.cpp -o obj/olc_act.o
g++ -c -Wall -g -O olc_ex.cpp -o obj/olc_ex.o
g++ -c -Wall -g -O olc_mpcd.cpp -o obj/olc_mpcd.o
g++ -c -Wall -g -O olc_save.cpp -o obj/olc_save.o
g++ -c -Wall -g -O password.cpp -o obj/password.o
g++ -c -Wall -g -O pipe.cpp -o obj/pipe.o
g++ -c -Wall -g -O pload.cpp -o obj/pload.o
g++ -c -Wall -g -O pushdrag.cpp -o obj/pushdrag.o
g++ -c -Wall -g -O qedit.cpp -o obj/qedit.o
g++ -c -Wall -g -O raceedit.cpp -o obj/raceedit.o
g++ -c -Wall -g -O races.cpp -o obj/races.o
g++ -c -Wall -g -O recycle.cpp -o obj/recycle.o
g++ -c -Wall -g -O redit.cpp -o obj/redit.o
g++ -c -Wall -g -O remort.cpp -o obj/remort.o
g++ -c -Wall -g -O resolve.cpp -o obj/resolve.o
g++ -c -Wall -g -O roles.cpp -o obj/roles.o
g++ -c -Wall -g -O rp.cpp -o obj/rp.o
g++ -c -Wall -g -O save.cpp -o obj/save.o
g++ -c -Wall -g -O saymote.cpp -o obj/saymote.o
g++ -c -Wall -g -O scan.cpp -o obj/scan.o
g++ -c -Wall -g -O score.cpp -o obj/score.o
g++ -c -Wall -g -O scripts.cpp -o obj/scripts.o
g++ -c -Wall -g -O sedit.cpp -o obj/sedit.o
g++ -c -Wall -g -O shop.cpp -o obj/shop.o
g++ -c -Wall -g -O sk_type.cpp -o obj/sk_type.o
g++ -c -Wall -g -O skill_ke.cpp -o obj/skill_ke.o
g++ -c -Wall -g -O skill_ti.cpp -o obj/skill_ti.o
g++ -c -Wall -g -O skills.cpp -o obj/skills.o
g++ -c -Wall -g -O socedit.cpp -o obj/socedit.o
g++ -c -Wall -g -O socials.cpp -o obj/socials.o
g++ -c -Wall -g -O special.cpp -o obj/special.o
g++ -c -Wall -g -O statset.cpp -o obj/statset.o
g++ -c -Wall -g -O string.cpp -o obj/string.o
g++ -c -Wall -g -O support.cpp -o obj/support.o
g++ -c -Wall -g -O tables.cpp -o obj/tables.o
g++ -c -Wall -g -O textsrch.cpp -o obj/textsrch.o
g++ -c -Wall -g -O tokens.cpp -o obj/tokens.o
g++ -c -Wall -g -O track.cpp -o obj/track.o
g++ -c -Wall -g -O trap.cpp -o obj/trap.o
g++ -c -Wall -g -O update.cpp -o obj/update.o
g++ -c -Wall -g -O websrv.cpp -o obj/websrv.o
g++ -c -Wall -g -O who.cpp -o obj/who.o
g++ -c -Wall -g -O whofmt.cpp -o obj/whofmt.o
g++ -c -Wall -g -O wizlist.cpp -o obj/wizlist.o
g++ -c -Wall -g -O com_time.cpp -o obj/com_time.o
rm -f ../dawn
g++ -g -O -lz -o ../dawn \
obj/act_comm.o obj/act_ente.o obj/act_info.o obj/act_move.o obj/
act_obj.o obj/act_wiz2.o obj/act_wiz.o obj/aedit.o obj/affects.o obj/alias.o obj
/areas.o obj/autostat.o obj/banedit.o obj/ban.o obj/base64.o obj/bit.o obj/cedit
.o obj/channels.o obj/chardata.o obj/clanedit.o obj/clan.o obj/class.o obj/colou
r.o obj/comedit.o obj/comm.o obj/const.o obj/connect.o obj/corpse.o obj/cust_col
.o obj/d2magsys.o obj/dawnlib.o obj/dawnlog.o obj/dawnstat.o obj/db2.o obj/db.o
obj/debug.o obj/deity.o obj/duel.o obj/dynamics.o obj/dyntable.o obj/effects.o o
bj/exitlist.o obj/ey_crypt.o obj/fight.o obj/flags.o obj/ftp.o obj/gamble.o obj/
gameedit.o obj/gio.o obj/global.o obj/grpedit.o obj/handler.o obj/healer.o obj/h
edit.o obj/help.o obj/herbedit.o obj/hreboot.o obj/ictime.o obj/immquest.o obj/i
nterp.o obj/intro_ex.o obj/intro.o obj/ispell.o obj/jail.o obj/langedit.o obj/la
nguage.o obj/laston.o obj/letters.o obj/lockers.o obj/lookup.o obj/magic_ce.o ob
j/magic_da.o obj/magic_ja.o obj/magic_ke.o obj/magic.o obj/magic_ob.o obj/magic_
qu.o obj/magic_ra.o obj/magic_re.o obj/magic_sb.o obj/magic_ti.o obj/map.o obj/m
atch.o obj/medit.o obj/mem.o obj/mixedit.o obj/mix.o obj/mob_cmds.o obj/mob_prog
.o obj/mob_q.o obj/mount.o obj/msp.o obj/mud2web.o obj/mxp.o obj/namegen.o obj/n
anny.o obj/netio.o obj/network.o obj/noble.o obj/notenet.o obj/note.o obj/obdb.o
obj/obskill.o obj/oedit.o obj/offmoot.o obj/olc_act.o obj/olc_ex.o obj/olc_mpcd
.o obj/olc.o obj/olc_save.o obj/o_lookup.o obj/password.o obj/pushdrag.o obj/pip
e.o obj/pload.o obj/qedit.o obj/raceedit.o obj/races.o obj/recycle.o obj/redit.o
obj/remort.o obj/resolve.o obj/roles.o obj/rp.o obj/save.o obj/saymote.o obj/sc
an.o obj/score.o obj/scripts.o obj/sedit.o obj/shop.o obj/skill_ke.o obj/skills.
o obj/skill_ti.o obj/sk_type.o obj/socedit.o obj/socials.o obj/special.o obj/sta
tset.o obj/string.o obj/support.o obj/tables.o obj/textsrch.o obj/tokens.o obj/t
rack.o obj/trap.o obj/update.o obj/websrv.o obj/whofmt.o obj/who.o obj/wizlist.o
obj/com_time.o
g++ -g -O -o ../resolver extras/resolver.cpp
$ cd ..
$ ./dawn
[3536]Feb 6 14:19:09::
-= The Dawn Of Time was last compiled on Feb 6 2008 at 14:15:21 (c++ build)=-
-= Parent codebase version Dawn 1.69r - 1February04:
:: no directory bak_area/ - used for 'backup area files'
:: no directory bak_area/ril/ - used for 'backup area Room Invite List files'
:: no directory bak_help/ - used for 'backup help files'
:: no directory logs/ - used for 'logfiles root dir'
:: no directory logs/olc/ - used for 'logdir: olc related logs'
:: no directory logs/code/ - used for 'logdir: code related logs'
:: no directory logs/admin/ - used for 'logdir: admin related logs'
:: no directory logs/plogs/ - used for 'logdir: player logs'
:: no directory logs/rstrlogs/ - used for 'logdir: restring logs'
:: no directory logs/channels/ - used for 'logdir: channel logs'
:: no directory logs/support/ - used for 'logdir: support related logs'
:: no directory logs/game/ - used for 'logdir: game logs (port-yymmdd-x.lo
g)'
:: no directory logs/immlogs/ - used for 'logdir: imm logs'
:: no directory data/ - used for 'mud dynamic data directory'
:: no directory scripts/ - used for 'contains all the scripts runable wi
th the script system'
:: no directory notes/ - used for 'notes directory'
:: no directory player/ - used for 'player files root'
:: no directory player/a/ - used for 'player files - A'
:: no directory player/b/ - used for 'player files - B'
:: no directory player/c/ - used for 'player files - C'
:: no directory player/d/ - used for 'player files - D'
:: no directory player/e/ - used for 'player files - E'
:: no directory player/f/ - used for 'player files - F'
:: no directory player/g/ - used for 'player files - G'
:: no directory player/h/ - used for 'player files - H'
:: no directory player/i/ - used for 'player files - I'
:: no directory player/j/ - used for 'player files - J'
:: no directory player/k/ - used for 'player files - K'
:: no directory player/l/ - used for 'player files - L'
:: no directory player/m/ - used for 'player files - M'
:: no directory player/n/ - used for 'player files - N'
:: no directory player/o/ - used for 'player files - O'
:: no directory player/p/ - used for 'player files - P'
:: no directory player/q/ - used for 'player files - Q'
:: no directory player/r/ - used for 'player files - R'
:: no directory player/s/ - used for 'player files - S'
:: no directory player/t/ - used for 'player files - T'
:: no directory player/u/ - used for 'player files - U'
:: no directory player/v/ - used for 'player files - V'
:: no directory player/w/ - used for 'player files - W'
:: no directory player/x/ - used for 'player files - X'
:: no directory player/y/ - used for 'player files - Y'
:: no directory player/z/ - used for 'player files - Z'
:: no directory player/retired/ - used for 'retired imms/heros directory'
:: no directory player/remort/ - used for 'Backup pfiles of players just befor
e they begin remort.'
:: no directory player/locked/ - used for 'pfiles requiring an email unlock co
de'
:: no directory player/builder/ - used for 'pfiles of those with olc access'
:: no directory player/trusted/ - used for 'pfiles of mortals with immortal tru
st'
:: no directory player/immortal/ - used for 'pfiles of immortal characters'
:: no directory player/dead/ - used for 'Pkilled pfiles'
:: no directory player/deleted/ - used for 'Pfiles of deleters above lvl 5'
:: no directory player/locked/ - used for 'Pfiles that require an emailed unlo
ck code to play.'
:: no directory msp/ - used for 'msp base directory - should be a li
nk to the base webpage url'
:: no directory msp/action/ - used for 'msp action sounds directory'
:: no directory msp/combat/ - used for 'msp combat sounds directory'
:: no directory msp/mobprog/ - used for 'msp mobprog sounds directory - soun
ds called from mprogs'
:: no directory msp/room/ - used for 'msp room sounds directory'
:: no directory msp/skills/ - used for 'msp skills sounds directory'
:: no directory msp/spells/ - used for 'msp spells sounds directory'
:: no directory msp/weather/ - used for 'msp weather sounds directory'
::
To create all these directories start the mud as:
'./dawn --createdirs'
from within '/home/Owner/dawn1.69r'
$ ./dawn --createdirs
[2408]Feb 6 14:19:25::
-= The Dawn Of Time was last compiled on Feb 6 2008 at 14:15:21 (c++ build)=-
-= Parent codebase version Dawn 1.69r - 1February04:
:: === starting in create directories mode:
:: creating dir bak_area/ - used for 'backup area files'
:: creating dir bak_area/ril/ - used for 'backup area Room Invite List files'
:: creating dir bak_help/ - used for 'backup help files'
:: creating dir logs/ - used for 'logfiles root dir'
:: creating dir logs/olc/ - used for 'logdir: olc related logs'
:: creating dir logs/code/ - used for 'logdir: code related logs'
:: creating dir logs/admin/ - used for 'logdir: admin related logs'
:: creating dir logs/plogs/ - used for 'logdir: player logs'
:: creating dir logs/rstrlogs/ - used for 'logdir: restring logs'
:: creating dir logs/channels/ - used for 'logdir: channel logs'
:: creating dir logs/support/ - used for 'logdir: support related logs'
:: creating dir logs/game/ - used for 'logdir: game logs (port-yymmdd-x.log
)'
:: creating dir logs/immlogs/ - used for 'logdir: imm logs'
:: creating dir data/ - used for 'mud dynamic data directory'
:: creating dir scripts/ - used for 'contains all the scripts runable wit
h the script system'
:: creating dir notes/ - used for 'notes directory'
:: creating dir player/ - used for 'player files root'
:: creating dir player/a/ - used for 'player files - A'
:: creating dir player/b/ - used for 'player files - B'
:: creating dir player/c/ - used for 'player files - C'
:: creating dir player/d/ - used for 'player files - D'
:: creating dir player/e/ - used for 'player files - E'
:: creating dir player/f/ - used for 'player files - F'
:: creating dir player/g/ - used for 'player files - G'
:: creating dir player/h/ - used for 'player files - H'
:: creating dir player/i/ - used for 'player files - I'
:: creating dir player/j/ - used for 'player files - J'
:: creating dir player/k/ - used for 'player files - K'
:: creating dir player/l/ - used for 'player files - L'
:: creating dir player/m/ - used for 'player files - M'
:: creating dir player/n/ - used for 'player files - N'
:: creating dir player/o/ - used for 'player files - O'
:: creating dir player/p/ - used for 'player files - P'
:: creating dir player/q/ - used for 'player files - Q'
:: creating dir player/r/ - used for 'player files - R'
:: creating dir player/s/ - used for 'player files - S'
:: creating dir player/t/ - used for 'player files - T'
:: creating dir player/u/ - used for 'player files - U'
:: creating dir player/v/ - used for 'player files - V'
:: creating dir player/w/ - used for 'player files - W'
:: creating dir player/x/ - used for 'player files - X'
:: creating dir player/y/ - used for 'player files - Y'
:: creating dir player/z/ - used for 'player files - Z'
:: creating dir player/retired/ - used for 'retired imms/heros directory'
:: creating dir player/remort/ - used for 'Backup pfiles of players just before
they begin remort.'
:: creating dir player/locked/ - used for 'pfiles requiring an email unlock cod
e'
:: creating dir player/builder/ - used for 'pfiles of those with olc access'
:: creating dir player/trusted/ - used for 'pfiles of mortals with immortal trus
t'
:: creating dir player/immortal/ - used for 'pfiles of immortal characters'
:: creating dir player/dead/ - used for 'Pkilled pfiles'
:: creating dir player/deleted/ - used for 'Pfiles of deleters above lvl 5'
:: creating dir msp/ - used for 'msp base directory - should be a lin
k to the base webpage url'
:: creating dir msp/action/ - used for 'msp action sounds directory'
:: creating dir msp/combat/ - used for 'msp combat sounds directory'
:: creating dir msp/mobprog/ - used for 'msp mobprog sounds directory - sound
s called from mprogs'
:: creating dir msp/room/ - used for 'msp room sounds directory'
:: creating dir msp/skills/ - used for 'msp skills sounds directory'
:: creating dir msp/spells/ - used for 'msp spells sounds directory'
:: creating dir msp/weather/ - used for 'msp weather sounds directory'
:: Directory creation completed successfully...
Start the mud normally to continue.
$ ./dawn
[2844]Feb 6 14:20:04::
-= The Dawn Of Time was last compiled on Feb 6 2008 at 14:15:21 (c++ build)=-
-= Parent codebase version Dawn 1.69r - 1February04:
:: Reading in game settings from gameset.txt...
:: File 'gameset.txt' not found, cancelled gio list loading.
:: *************************************************************************
Gamesettings file 'gameset.txt' was not found - creating empty file then
reloading it to get default settings.
****************************************************************************
:: gio_generic_loadlist() reading in from gameset.txt...
:: Finished gio_generic_loadlist [1].
:: Allocated 5340032 bytes for string storage. (MAX_STRING setting)
:: Starting gio_generic_savelist to gameset.txt.write.
:: GIOBACKUP: Renaming old gameset.txt to gameset.txt.giobak
:: Renaming new gameset.txt.write to gameset.txt
:: Finished gio_generic_savelist [1].
:: initiating logging to file
[2844]Feb 6 14:20:04::
-= The Dawn Of Time was last compiled on Feb 6 2008 at 14:15:21 (c++ build)=-
-= Parent codebase version Dawn 1.69r - 1February04:
:: Reading in game settings from gameset.txt...
:: File 'gameset.txt' not found, cancelled gio list loading.
:: *************************************************************************
Gamesettings file 'gameset.txt' was not found - creating empty file then
reloading it to get default settings.
****************************************************************************
:: gio_generic_loadlist() reading in from gameset.txt...
:: Finished gio_generic_loadlist [1].
:: Allocated 5340032 bytes for string storage. (MAX_STRING setting)
:: Starting gio_generic_savelist to gameset.txt.write.
:: GIOBACKUP: Renaming old gameset.txt to gameset.txt.giobak
:: Renaming new gameset.txt.write to gameset.txt
:: Finished gio_generic_savelist [1].
:: initiating logging to file
:: logging to logs/game/4000-080206-01.log
:: *************************************************************************
Note: on machines which have the tail command installed, you can follow this
log using the command: tail -n 5000 -f logs/game/4000-080206-01.log
****************************************************************************
:: *************************************************************************
Note2: you can change the startup behaviour if desired, to do so
type "./dawn --help" for more information.
****************************************************************************
:: switching to daemon mode (background running process)
:: The mud is now running in the background, process id = 2992.
This worked OK and I was able to connect with my client. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Cole
(6 posts) Bio
|
Date
| Reply #4 on Wed 06 Feb 2008 11:28 AM (UTC) |
Message
| "Changed line 46 in config.h to:
//#define IPV6_SUPPORT_ENABLED"
This is the only step which you have that I did not. Unfortunately, for the life of me, I can't seem to even -find- a config.h file in any of these.
Any ideas? | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #5 on Wed 06 Feb 2008 06:39 PM (UTC) |
Message
| The last line of the step which does the configuration ( ./configure ) has this:
config.status: creating ../config.h
Thus it should have been generated for you. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #6 on Wed 06 Feb 2008 10:26 PM (UTC) |
Message
| If you're compiling with MSVS, though, it's possible that the configure script isn't being executed. When you compile with Cygwin do you run the configure script before compiling? |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Cole
(6 posts) Bio
|
Date
| Reply #7 on Wed 06 Feb 2008 10:54 PM (UTC) |
Message
| Basically I've been running through the instructions listed here (http://www.dawnoftime.org/getting_started.html) word for word. It has instructions for both compiling in Cygwin and compiling in VC++.
Using Cygwin I did run through the configure steps:
cd ~/dot/src
make
cd configure
./configure
cd ..
make
As such. Upon doing it again I found something which appears in mine which didn't appear in yours.
"./configure: line 3406: cmp: command not found"
In addition, where you made certain changes to specific lines in some of these files, it seems I'm not entirely sure how to go about making these changes with Cygwin.
Enclosed is a copy of the cygwin window.
$ ./configure
checking for g++... g++
checking for C++ compiler default output... a.exe
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
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 ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for pid_t... yes
checking for size_t... yes
checking if socklen_t defined... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... no
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strstr... yes
checking for deflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for BSD make...
Not found
checking for GNU make... make
Found
./configure: line 3406: cmp: command not found
configure: creating ./config.status
config.status: creating ../makefile
config.status: creating ../config.h
G E O@GEO-HP ~/dot/src/configure
$ cd ..
G E O@GEO-HP ~/dot/src
$ make
g++ -c -Wall -g -O act_comm.cpp -o obj/act_comm.o
g++ -c -Wall -g -O act_ente.cpp -o obj/act_ente.o
g++ -c -Wall -g -O act_info.cpp -o obj/act_info.o
g++ -c -Wall -g -O act_move.cpp -o obj/act_move.o
g++ -c -Wall -g -O act_obj.cpp -o obj/act_obj.o
g++ -c -Wall -g -O act_wiz.cpp -o obj/act_wiz.o
g++ -c -Wall -g -O act_wiz2.cpp -o obj/act_wiz2.o
g++ -c -Wall -g -O aedit.cpp -o obj/aedit.o
g++ -c -Wall -g -O affects.cpp -o obj/affects.o
g++ -c -Wall -g -O alias.cpp -o obj/alias.o
g++ -c -Wall -g -O areas.cpp -o obj/areas.o
g++ -c -Wall -g -O autostat.cpp -o obj/autostat.o
g++ -c -Wall -g -O ban.cpp -o obj/ban.o
g++ -c -Wall -g -O banedit.cpp -o obj/banedit.o
g++ -c -Wall -g -O base64.cpp -o obj/base64.o
g++ -c -Wall -g -O bit.cpp -o obj/bit.o
g++ -c -Wall -g -O cedit.cpp -o obj/cedit.o
g++ -c -Wall -g -O channels.cpp -o obj/channels.o
g++ -c -Wall -g -O chardata.cpp -o obj/chardata.o
g++ -c -Wall -g -O clan.cpp -o obj/clan.o
g++ -c -Wall -g -O clanedit.cpp -o obj/clanedit.o
g++ -c -Wall -g -O class.cpp -o obj/class.o
g++ -c -Wall -g -O colour.cpp -o obj/colour.o
g++ -c -Wall -g -O comedit.cpp -o obj/comedit.o
g++ -c -Wall -g -O comm.cpp -o obj/comm.o
g++ -c -Wall -g -O connect.cpp -o obj/connect.o
connect.cpp: In member function `void connection_data::close_socket()':
connect.cpp:214: error: expected `)' before '{' token
make: *** [connect.o] Error 1 | Top |
|
Posted by
| Nick Gammon
Australia (23,120 posts) Bio
Forum Administrator |
Date
| Reply #8 on Thu 07 Feb 2008 12:53 AM (UTC) |
Message
|
Quote:
./configure: line 3406: cmp: command not found
I have that in my /usr/bin directory. Might be worth running Cygwin setup and making sure that "cmp" is checked to be installed. Not sure how bad an error that is.
Quote:
In addition, where you made certain changes to specific lines in some of these files, it seems I'm not entirely sure how to go about making these changes with Cygwin.
Run any text editor (eg. Crimson Editor) and edit the appropriate file. Depending on where you installed Cygwin you should be able to find it. Inside Cygwin, if you type "df -h" you can see where your drives are, in my case I see:
$ df -h
Filesystem Size Used Avail Use% Mounted on
C:\cygwin\bin 146G 57G 89G 39% /usr/bin
C:\cygwin\lib 146G 57G 89G 39% /usr/lib
C:\cygwin 146G 57G 89G 39% /
c: 146G 57G 89G 39% /cygdrive/c
d: 3.5G 3.2G 324M 91% /cygdrive/d
v: 146G 48G 98G 33% /cygdrive/v
z: 146G 48G 98G 33% /cygdrive/z
Your "home" directory will be under "/home", you an try this:
We can derive from that that my home directory is therefore at:
Yours might be somewhere else (but the df -h will tell you where).
Thus the file to edit would be something like:
C:\cygwin\home\Cole\dot\src\connect.cpp
... assuming you named your home directory Cole.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Cole
(6 posts) Bio
|
Date
| Reply #9 on Fri 08 Feb 2008 09:59 PM (UTC) |
Message
| That did it guys, thanks a lot.
Looks like making the two changes to the files allowed it to compile correctly.
Appreciation. :) | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
26,953 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top