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.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Compiling the server
➜ Please Help SWR compiling problems.
|
Please Help SWR compiling problems.
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Crazyjosh17
(1 post) Bio
|
| Date
| Tue 18 Feb 2003 11:31 PM (UTC) |
| Message
| PLease help i get this error when i try to compile swr with cygwin.
$ make
make swr
make[1]: Entering directory `/home/Josh/swfote/src'
gcc -c -g3 -Wall save.c
save.c: In function `load_corpses':
save.c:2206: `dp' undeclared (first use in this function)
save.c:2206: (Each undeclared identifier is reported only once
save.c:2206: for each function it appears in.)
save.c:2206: warning: implicit declaration of function `opendir'
save.c:2214: warning: implicit declaration of function `readdir'
save.c:2214: warning: assignment makes pointer from integer without a cast
save.c:2216: dereferencing pointer to incomplete type
save.c:2218: dereferencing pointer to incomplete type
save.c:2259: warning: implicit declaration of function `closedir'
make[1]: *** [save.o] Error 1
make[1]: Leaving directory `/home/Josh/swfote/src'
make: *** [all] Error 2
Thanks for the help. | | Top |
|
| Posted by
| Josh18
(1 post) Bio
|
| Date
| Reply #1 on Wed 19 Feb 2003 05:28 AM (UTC) |
| Message
| Ok i fixed that but i get this when i try to run it.
Resetting: tatooine.are
Resetting: misc.are
Resetting: coruscant.are
Resetting: coruscant2.are
Resetting: newbie.are
Resetting: Yavin.are
Resetting: byss.are
Resetting: coruscant3.are
Resetting: OrdMantell.are
Resetting: calamari.are
Resetting: apprentice.are
Resetting: guild.are
Resetting: jedi.are
Resetting: sith.are
Resetting: bespin.are
Resetting: endor.are
Resetting: kashyyyk.are
Resetting: korriban.are
Resetting: nalhutta.are
Resetting: Corellia.are
Resetting: shipvnum.are
Resetting: narshaddaa.are
Resetting: pubtrans.are
Resetting: silenceindustries.are
Resetting: bakura.are
Resetting: Afelmines.are
Resetting: newcoru.are
Resetting: Honoghr.are
Resetting: newcorellia.are
Resetting: newkashyyyk.are
Resetting: asteroid1.are
Resetting: asteroid2.are
Resetting: asteroid3.are
Resetting: Bilbringi.are
Tue Feb 18 23:23:14 2003 :: Making new blackmarket list.
Tue Feb 18 23:23:14 2003 :: Initializing socket
Tue Feb 18 23:23:14 2003 :: SWFotE ready on port 4000.
Resetting: newbie.are
6 [main] swr 3372 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
20812 [main] swr 3372 open_stackdumpfile: Dumping stack trace to swr.exe.stack
dump
Plus a lot of bug error at the begging.
Please help. Thank you. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,166 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Fri 21 Feb 2003 09:12 PM (UTC) |
| Message
| | An access violation can be almost anything going wrong, quite often using a pointer that is NULL (ie. zero). One way of tracing the problem is to use gdb (GNU debugger) to find *which* pointer is NULL. Search this forum for other posts about gdb, I think I did an example of deliberately setting a pointer NULL to demonstrate the technique. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
12,591 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top