Um...I think I got an old version of cygwin...but I just updated...But ok I read your Compile tutorial but i recently downloaded SWFotE off the downloads page and it was called swfotefuss11[1] how would I compile that? also my bash doesn't do some of the commands you mention in How to Compile...So I am desperate for help! HELP ME NICK
Chasing me is like chasing your bra in the ocean....
Well hmm Should I get all the bash files then? Nope its just called SWfotefuss11[1]
and well I found a folder with ls.exe but when I dbl click it a black screen pops up and dissappears...heh...But today I had an old swr10 binary and got that working...But still I need to get this to work
You're not supposed to double click ls.exe ... you're supposed to type it from the Cygwin prompt. In fact you're supposed to do almost everything in Nick's guide from the Cygwin prompt. Could you be a little more precise about what you're doing and what is not working?
Well I just am new and all and what you mean by Cygwin prompt? is that bash or somethin? I just dunno how to compile the file swfotefuss11[1] and I cant use ls...tar...you know the basics
Somehow...I do not have the Cygwin one...I mean when I used the cmd.exe it and then ran ls.exe it showed the files like it was supposed to in the how to compile tutorial and yea thats the file
Well...thats strange...I have no cygwin.bat file...it must be an old version...any way i could possibly get it now? And its an extension? whats it say fer you?
Well I just got a cygwin.bat file and I'm getting todo.pl which it needs it says...So... I mean what does the swfote file say for you? mine says swfotefuss11[1] you? I'll see if this todo.pl file works
Ok I got the todo.pl its like a todo list but the cygwin.bat file wouldn't do anything without it...all it does is gimme this big text screen...oh and cmd.exe does run the ls.exe showing the files and everything...so any suggestions besides reinstalling? Because I got my friend doing that on his computer which I'm gonna see if that works later...but still help me here
But...Ok this is really hard to explain...but Is there anyway for you to help me with bash? Because the compile guide is kinda hard to understand with all that yippy wippy commands and I dunno how I would run the startup...it doesn't have an extension or anything. Like...Why wont exec command work?
Well, what i mean by big text screen is like notepad...not bash/telnet/dos...So...I mean theres sites that let you download it so i'll go try that out quick
You know like a text editor...
# Manage the to-do list.
use warnings;
use strict;
use Getopt::Long;
use Pod::Usage;
use Win32API::Registry qw(:Func :SE_);
my %reg;
use Win32::TieRegistry (Delimiter => '/', TiedHash => \%reg);
use Win32::NetResource; # for get_drive_path
# Location of the "to do" list.
my $todo = 'c:\\todo.txt';
# Your usual option-processing sludge.
my %opts;
GetOptions (\%opts, 'help', 'man', 'go')
or pod2usage (2);
(exists $opts{'help'})
and pod2usage (0);
(exists $opts{'man'})
and pod2usage ('-exitstatus' => 0, -verbose => 2);
sub stop () {
while (1) {
sleep 3600;
}
}
sub reboot ($) {
my ($timeout) = @_;
AllowPriv (SE_SHUTDOWN_NAME, 1)
or die "Unable to AllowPriv SE_SHUTDOWN_NAME: $^E";
print "$0 is bouncing the system\n";
InitiateSystemShutdown ('', "$0: Rebooting...", $timeout, 1, 1)
or die "Unable to InitiateSystemShutdown: $^E";
stop ();
}
# Read a file. Return an empty list if file does not exist.
sub read_file ($) {
my ($file) = @_;
-e $file
or return ();
open FILE, $file
or die "Unable to open $file for reading: $^E";
my @ret = <FILE>;
close FILE
or die "Unable to close $file: $^E";
map { chomp } @ret;
# Cull empty lines
return grep { /./ } @ret;
}
# Write some lines to a file.
sub write_file ($@) {
my ($file, @lines) = @_;
if (scalar @lines > 0) {
my $tmp = "$file.tmp.$$";
open TMP, ">$tmp"
or die "Unable to open $tmp for writing: $^E";
foreach my $line (@lines) {
print TMP "$line\n";
}
close TMP
or die "Unable to close $tmp: $^E";
rename $tmp, $file
or die "Unable to rename $tmp to $file: $^E";
}
else {
# When file becomes empty, remove it.
unlink $file
or die "Unable to unlink $file: $^E";
}
}
# Push one or more commands onto the to-do list.
sub push_todo (@) {
my @new_cmds = @_;
my @old_cmds = read_file ($todo);
write_file ($todo, @new_cmds, @old_cmds);
}
# Pop the next command off of the to-do list. With arg, just peek at
# the next command; do not really pop it off.
sub pop_todo (;$) {
my ($peek) = @_;
my @cmds = read_file ($todo);
Well I'm gonna go to bed...I found a 2003 version...it actually has the bat files and desktop icons...oh well...Hey help me tommorow I'll be on...Night and thanks
You seem to have not followed the guide closely enough. I would start over and follow Nick's guide to the letter if I were you. Don't skip steps because you think you know them. Do it all by the letter. That you're dealing with todo.pl (whatever the hell that is) shows that you're doing something very, very strange.
Well I did the make command and stuff but I got a WHOLE bunch of errors...like cannot find /sys/times.h. So I dunno how to get that to work...so can ya help?
make -s swr
o/11.o
11.c:41: math.h: No such file or directory
11.c:42: sys/types.h: No such file or directory
11.c:43: ctype.h: No such file or directory
11.c:44: stdio.h: No such file or directory
11.c:45: string.h: No such file or directory
11.c:46: time.h: No such file or directory
In file included from 11.c:47:
mud.h:39: stdlib.h: No such file or directory
In file included from /cygdrive/c/cygwin/latest/gcc/usr/bin/../lib/gcc-lib/i686-
pc-cygwin/2.95.2-6/include/limits.h:11,
from mud.h:40,
from 11.c:47:
/cygdrive/c/cygwin/latest/gcc/usr/bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2-6/inc
lude/syslimits.h:7: No include path in which to find limits.h
In file included from 11.c:47:
mud.h:41: sys/cdefs.h: No such file or directory
mud.h:42: sys/time.h: No such file or directory
mud.h:43: math.h: No such file or directory
make[1]: *** [o/11.o] Error 1
make: *** [all] Error 2
BASH-2.04$
Right click in Cygwin, click on Mark, highlight what you want, and then hit enter. Please try to read manuals first so you know how to do, without needing to ask.
make -s swr
o/11.o
11.c:41: math.h: No such file or directory
11.c:42: sys/types.h: No such file or directory
11.c:43: ctype.h: No such file or directory
11.c:44: stdio.h: No such file or directory
11.c:45: string.h: No such file or directory
11.c:46: time.h: No such file or directory
In file included from 11.c:47:
mud.h:39: stdlib.h: No such file or directory
In file included from /cygdrive/c/cygwin/latest/gcc/usr/bin/../lib/gcc-lib/i686-
pc-cygwin/2.95.2-6/include/limits.h:11,
from mud.h:40,
from 11.c:47:
/cygdrive/c/cygwin/latest/gcc/usr/bin/../lib/gcc-lib/i686-pc-cygwin/2.95.2-6/inc
lude/syslimits.h:7: No include path in which to find limits.h
In file included from 11.c:47:
mud.h:41: sys/cdefs.h: No such file or directory
mud.h:42: sys/time.h: No such file or directory
mud.h:43: math.h: No such file or directory
make[1]: *** [o/11.o] Error 1
make: *** [all] Error 2
BASH-2.04$
Looks like you didn't set up Cygwin correctly since header files are missing and/or include directories aren't set up correctly. Uninstall Cygwin and install it again, following the guide to the letter.