This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cannot Build SaveMyModem under Cygwin: Please Help!

Cygwin Gurus:

Please help me debug SaveMyModem. 

I am trying to help the author of SaveMyModem (a
free/open mail filter Anti-SPAM program for Win32)
debug the program.  Certain emails consistently crash
smm due to some hidden glitch but only on my Win98SE
system.  Linux, Win2K, etc versions work fine.

So I downloaded smm and the cygwin debug kit.  I
freshly installed cygwin from the, making
sure any traces of previous cygwin installs were gone.

I followed the instructions in the DEVELOPERS.pdf to
the letter (except added a 'cd smm-0.13' between steps
5 and 6) and ended up with an incomplete build.

I contacted the author who made some suggestions
(available on request) but resulted in similar errors.
 My hunches are: #1 user error, #2 a cygwin glitch
specific to Win98.

I have tried to figure this out on my own, but am lost
and cannot start debugging unless I can get smm to
build under Win98/Cygwin.  I am attaching some info
files to help any investigation anyone chooses to do.

I did search the archive for 'savemymodem' and other
relevant items but could not find anything I could
relate to this problem.

The smm sourceforge page has neat tarballs available
for download, however, really adventurous gurus may
want to try the CVS version as apparently some changes
have been made recently.

Any help in this is greatly appreciated.  Thanks in

Andrew Lynch
l y n c h a j < a t > y a h o o < d o t > c o m

PS, please cc: me on any responses as I am not
subscribed to the list.  I will be checking the
archive regularly for any responses.

Do you Yahoo!?
Yahoo! News - Today's headlines
Cygwin Package Information
Last downloaded files to: C:\WINDOWS\Desktop\cygwin_files\
Last downloaded files from: C:\WINDOWS\Desktop\cygwin_files\

Package             Version             
_update-info-dir    00060-1             
ash                 20020731-1          
bash                2.05b-3             
binutils            20020706-2          
bison               1.35-1              
cygwin              1.3.12-4            
diff                1.0-1               
diffutils           2.8.1-1             
fileutils           4.1-1               
findutils           4.1.7-4             
flex                2.5.4-2             
gawk                3.1.1-2             
gcc                 2.95.3-5            
gdb                 20010428-3          
gdbm                1.8.0-4             
grep                2.5-1               
gzip                1.3.3-4             
less                374-1               
libiconv2           1.8-2               
libintl1            0.10.40-1           
libintl2            0.11.2-2            
libncurses5         5.2-1               
libncurses6         5.2-8               
libreadline4        4.1-2               
libreadline5        4.3-1               
login               1.4-4               
make                3.79.1-7            
mingw-runtime       2.2-1               
ncurses             5.2-8               
pcre                3.7-1               
readline            4.3-1               
sed                 3.02-1              
sh-utils            2.0-2               
tar                 1.13.19-1           
termcap             20020403-1          
terminfo            5.2-3               
texinfo             4.2-3               
textutils           2.0.21-1            
w32api              2.0-1               
which               1.5-1               
zlib                1.1.4-1             

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Sat Sep 14 10:16:56 2002

Windows 98 SE Ver 4.10 Build 2222 

Path:	C:\cygwin\usr\local\bin


HOME = `C:\cygwin\home\andrew'
MAKE_MODE = `unix'
PWD = `/home/andrew'
USER = `andrew'

BLASTER = `A220 I10 D1 H5 P330 T6'
CLASSPATH = `C:\PROGRA~1\CD-WRI~1\Adobe\AdobeConnectables'
CMDLINE = `bash --login -i'
HOMEPATH = `\cygwin\home\andrew'
OLDPWD = `/usr/bin'
PROMPT = `$p$g'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
TERM = `cygwin'
_ = `/usr/bin/cygcheck'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
b:  fd           N/A    N/A                    
c:  hd  FAT32  20471Mb  31% CP    UN           ANDREWLYNCH
d:  hd  FAT32   1220Mb   2% CP    UN           QUICKEN2001
e:  hd  FAT32   4094Mb  26% CP    UN           LAPTOPBAKUP
f:  cd           N/A    N/A                    

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  user    binmode,cygdrive

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: C:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

   81k 2001/10/20 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2001/10/19 20:25
   35k 2001/10/20 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2001/10/19 20:25
  390k 2001/10/20 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2001/10/19 20:24
    5k 2001/10/20 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2001/10/20 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2001/10/19 20:24
  623k 2001/10/20 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2001/10/19 20:25
   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19 22:05
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24 14:24
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 4:28
   23k 2002/06/24 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/6/24 0:54
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25 1:28
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25 1:27
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25 1:17
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25 1:27
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 1:03
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 1:03
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9 1:03
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9 1:03
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6 23:34
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6 23:34
   20k 2002/07/17 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/7/17 17:18
  127k 2002/07/17 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/7/17 17:18
   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 17:15
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 17:15
   50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/11 23:38
  883k 2002/07/06 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/7/6 2:16
    Cygwin DLL version info:
        DLL version: 1.3.12
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 54
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Sat Jul 6 02:16:58 EDT 2002
        CVS tag: cygwin-1-3-12-1
        Shared id: cygwin1S3

Use -h to see help about each section
make[1]: Entering directory `/home/andrew/smm-0.13/src'
 building dep for win32_compatibility.c
 building dep for uidldb.c
 building dep for support.c
 building dep for socketcommon.c
 building dep for smtp.c
 building dep for setup.c
 building dep for savemymodem.c
 building dep for rules.c
 building dep for regularexp.c
 building dep for pop3.c
 building dep for options.c
 building dep for nametable.c
 building dep for names.c
 building dep for md5.c
 building dep for mailmessage2clist.c
 building dep for mailmessage.c
 building dep for list.c
 building dep for interface.c
 building dep for inspector.c
 building dep for iconbutton.c
 building dep for globalsgfx.c
 building dep for globals.c
 building dep for debug.c
 building dep for configwrite.c
 building dep for communicate.c
 building dep for comline.c
 building dep for callbacks_window_options.c
 building dep for callbacks_window_main.c
 building dep for callbacks_window_log.c
 building dep for callbacks_window_complain.c
 building dep for callbacks_window_about.c
 building dep for bintree.c
 building dep for apop2md5.c
 building dep for altsocklib.c
 building dep for accounts.c
make[1]: Leaving directory `/home/andrew/smm-0.13/src'
make[1]: Entering directory `/home/andrew/smm-0.13/src'
 compiling accounts.c -> accounts.o
 compiling altsocklib.c -> altsocklib.o
 compiling apop2md5.c -> apop2md5.o
 compiling bintree.c -> bintree.o
 compiling callbacks_window_about.c -> callbacks_window_about.o
 compiling callbacks_window_complain.c -> In file included from list.h:5,
                 from callbacks_window_complain.c:5:
/usr/include/mingw/stdio.h:222: parse error before `-'
/usr/include/mingw/stdio.h:223: parse error before `-'
/usr/include/mingw/stdio.h: In function `_vsnprintf':
/usr/include/mingw/stdio.h:225: number of arguments doesn't match prototype
/usr/include/mingw/stdio.h:219: prototype declaration
/usr/include/mingw/stdio.h:225: `s' undeclared (first use in this function)
/usr/include/mingw/stdio.h:225: (Each undeclared identifier is reported only once
/usr/include/mingw/stdio.h:225: for each function it appears in.)
/usr/include/mingw/stdio.h:225: `n' undeclared (first use in this function)
/usr/include/mingw/stdio.h:225: `format' undeclared (first use in this function)
/usr/include/mingw/stdio.h:225: `arg' undeclared (first use in this function)
make[1]: *** [callbacks_window_complain.o] Error 1
make[1]: Leaving directory `/home/andrew/smm-0.13/src'
make: *** [all] Error 2

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]