Register forum user name Search FAQ

Gammon Forum

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 ➜ Compile Succesfull [but a detail...]

Compile Succesfull [but a detail...]

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Axes   Chile  (2 posts)  Bio
Date Sat 23 Apr 2005 07:04 AM (UTC)
Message
Well, i can compile the SMAUG.

I have a little problem.
I followed all the steps of this webpage (http://www.gammon.com.au/smaug/howtocompile.htm) and only had this error:
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lregex
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/nick/smaug/dist/src'
make: *** [all] Error 2

I read the solution:
... you may need to edit the file "Makefile" and comment-out the line regarding regexp, like this:

#Uncomment the line below if you are getting undefined re_exec errors
#NEED_REG = -lregex

but i think, it must say:
... you may need to edit the file "Makefile" and comment-out the line regarding regexp, like this:

#Uncomment the line below if you are getting undefined re_exec errors
/* #NEED_REG = -lregex */

because i did it, and i can finally compile sucessfully =)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Thank you againm, Nick Gammon
[and sorry for my english]



Axes
[All is vanity -> All is Fantasy]
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #1 on Sat 23 Apr 2005 07:53 PM (UTC)
Message
What are you compiling under? Windows w/ Cygwin, Linux?
With Windows and Cygwin, Gammon has a page on that that will tell you everything you need to know about compiling it under Windows. As for Linux, I have no clue
Top

Posted by Zhamel   USA  (67 posts)  Bio
Date Reply #2 on Sat 23 Apr 2005 08:04 PM (UTC)
Message
Just to point out something here....

In the Makefile when it says:

#Uncomment the line below if you are getting undefined re_exec errors
#NEED_REG = -lregex


I mean to remove the # symbol before the second line, thus making it look like this:

#Uncomment the line below if you are getting undefined re_exec errors
NEED_REG = -lregex
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,973 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.