Sorry, but I do not understand.
My makefile is:
CC = g++
#PROF = -p
#Uncomment to compile in Cygwin
#CYGWIN = -DCYGWIN
#Uncomment the line below if you are getting undefined references to dlsym, dlopen, and dlclose.
#Comment it out if you get errors about ldl not being found.
NEED_DL = -ldl
#Some systems need this for dynamic linking to work.
EXPORT_SYMBOLS = -export-dynamic
# Uncomment the two lines below if compiling on a Solaris box
#SOLARIS_FLAG = -Dsun -DSYSV
#SOLARIS_LINK = -lnsl -lsocket
#IMC2 - Comment out to disable IMC2 support
IMC = 1
C_FLAGS = -g2 $(W_FLAGS) $(SOLARIS_FLAG) $(PROF) $(EXPORT_SYMBOLS)
L_FLAGS = $(PROF) $(SOLARIS_LINK) -lz $(NEED_DL)
#D_FLAGS : For the DNS Slave process. No need in linking all the extra libs for this.
D_FLAGS = -g2 -O $(PROF) $(SOLARIS_LINK)
Does look to me you are in the right directory. You should be in the area directory, not the smaugfuss directory.
Also make sure you uncommented the "cygwin" line near the top of Makefile, otherwise the dynamic linking of commands doesn't work. There was another post about that recently.
If you had not amended the Makefile, do a "make clean" after you change it and then another "make".
thanks! I have a problem and a question:
the problem is I have no command, all I can do is to use socials.
and the question is, How do I change the port?
$ cd smaugfuss/src
Marcos@Marcos1 ~/smaugfuss/src
$ nohup ../smaug
Wrong directory. You are in src but using ../smaug looks in the parent directory.
Marcos@Marcos1 ~/smaugfuss/src
$ nohup /smaug
nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `/smaug': No such file or directory
It won't be in the root directory.
Marcos@Marcos1 ~/smaugfuss/src
$ smaug
bash: smaug: command not found
You need to specify the current directory:
nohup ./smaug
In any case, it won't run from the src directory (no area files). You need to do:
Marcos@Marcos1 ~/smaugfuss/src
$ nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `../startup': No such file or directory
nohup ./startup &
[2] 5528
[1] Exit 127 nohup ../startup
Marcos@Marcos1 ~/smaugfuss/src
$ nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `./startup': Permission denied
Marcos@Marcos1 ~/smaugfuss/src
$ nohup ../smaug
nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `../smaug': No such file or directory
Marcos@Marcos1 ~/smaugfuss/src
$ smaug
bash: smaug: command not found
Marcos@Marcos1 ~/smaugfuss/src
$ nohup /smaug
nohup: ignoring input and appending output to `nohup.out'
nohup: failed to run command `/smaug': No such file or directory
Marcos@Marcos1 ~/smaugfuss/src
I try to run from cmd.exe, copying files cygwin1.dll, cygz.dll cyggcc_s-1.dll and giving me these problems:
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.