|
Compile Succesfull [but a detail...]
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Axes
Chile (2 posts) bio
|
| Date |
Sat 23 Apr 2005 07:04 AM (UTC) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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.
1,516 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )