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
➜ ROM
➜ Compiling the server
➜ curious to see what you can do with this Nick....
|
curious to see what you can do with this Nick....
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Translucent Hate
USA (48 posts) Bio
|
| Date
| Thu 03 May 2001 05:13 AM (UTC) |
| Message
| gcc -I. -I.. -DNETBSD -O2 -c -o random.o random.c
random.c:3: conflicting types for `random'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.25
/../../../../include/stdlib.h:117:
previous declaration of `random'
make[1]: *** [random.o] Error 1
make[1]: Leaving directory `/home/justin/dgd/dgd/src/host'
make: *** [a.out] Error 2
the make is on
http://www.ultranet.com/~jjmartin/temp/makefile
any suggestions would be great. ;)
the rom one is doing excellent too.. thanks for the help. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 03 May 2001 07:38 AM (UTC) |
| Message
| You might need to add the OLD_RAND define to the makefile.
C_FLAGS = -Wall $(PROF) $(NOCRYPT) -DOLD_RAND
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Translucent Hate
USA (48 posts) Bio
|
| Date
| Reply #2 on Thu 03 May 2001 04:25 PM (UTC) |
| Message
| tried putting it a few places... but nothing...
any suggestion in particular where to put it?
also... there is a line in the make
CFLAGS= -I. -Icomp -Ilex -Ied -Iparser -Ikfun $(CCFLAGS)
obviously its not the same as C_FLAGS because I already
tried that, but everything else seems to go smooth until
that error unfortunately... if you want the source
to try its at ftp://ftp.imaginary.com/pub/LPC/servers/DGD/dgd-1.2.tar.gz
i haven't got into the mudlib yet but its at
ftp://ftp.imaginary.com/pub/LPC/servers/DGD/lib/Melville/melville_0.9.tar.gz
this is within the melville readme about starting the mud:
dgd.exe Melvmud >& ../melville/log/driver &
hope this helps a little... i'm not a very good coder, but
if i could get an lpc mud up, it would really help, since i'm better with LPC code then ROM... | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Thu 03 May 2001 08:57 PM (UTC) |
| Message
| I would add it to that line, like this:
CFLAGS= -I. -Icomp -Ilex -Ied -Iparser -Ikfun $(CCFLAGS) -DOLD_RAND
However this might not work for LPC, they might do their random stuff differently.
I'm sorry that I don't have time to debug every possible variation of MUD servers out there, however the guides I have on these pages should point you in the right direction. For instance, I would investigate why there are different types of 'random'. Maybe one of the .h files doesn't need including. Look inside ROM and see what happens when OLD_RAND is defined (search for that word). Then see if you can do a similar thing, whatever that is, with LPC.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Translucent Hate
USA (48 posts) Bio
|
| Date
| Reply #4 on Fri 04 May 2001 02:41 AM (UTC) |
| Message
| sorry man... i just figured i'd ask
because you seem to be the only resource
that can actually give me an answer that
not only is reasonable, but actually makes
sense... but you are right, and i won't
bug you with this source again.
my apologies.
| | 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.
18,948 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top