🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #259788

Re: Official mixmaster source? Error compiling mixmaster?

#259788
From: Anonymous
Date: Wed, 28 Nov 2012 23:25
91 lines
4361 bytes
> In article <c053466e9e9e32e3379f6cd52d0ef259@anonymitaet-im-inter.net>
> Dave U. Random <anonymous@anonymitaet-im-inter.net> wrote:
> >
> > What is the official location to download the mixmaster source
> > code.  And does anyone know why I am getting this compilation error?
> >
> There is no "official" place for the program because it is open-
> source and not really maintained by any "official" group, AFAIK. 
> The most recent version I ever saw was on the Quicksilver website 
> at one point, but I Tricky Dicky took it down, I suppose because it 
> was cutting into his (pitiful) act. That was a dumb move really 
> because the ilk of his fanboy cronies could never figure out how to 
> make it work right, not securely anyway.  ;)  But that doesn't 
> matter to the anally retentive type like him.
> 
> You didn't say whether you want a Windows or Linux version?
> 
> 

OK, I downloaded from the source forge and it is saying mixmaster-3.0

sha256sum mixmaster.tar.gz 
ba2a87c1cff08dee6933b386a9edbb5bee5ec910ec6d37a65cbf2736d2b3af13 
mixmaster.tar.gz

The file unpacks to a directory called mixmaster-3.0.

I don't understand the compilation error. It is gcc 4.5.4.  If you
change the #elif to 

#else /* end of CLOAK */
#ifdef MIMIC /* MIMIC */
  if (mode == PGP_ARMOR_REM || mode == PGP_ARMOR_NYMKEY || mode ==
PGP_ARMOR_NY$
    buf_appends(out, "Version: 2.6.3i\n");
  else
#endif
#endif /* MIMIC */

.it compiles fine.  According to the references I could find, it is OK
to use #elif in this way.

Running 
gcc -I/usr/include -I/usr/include -DUSE_ZLIB -DUSE_PCRE -DUSE_AES
-DUSE_NCURSES -DHAVE_NCURSES_H -DUSE_IDEA -DHAVE_SETENV -DUSE_SOCK
-DSPOOL='"/usr/local/mix"' -g -Wall --traditional -E  pgp.c

                from mix3.h:17,
                 from pgp.c:13:
/usr/include/sys/cdefs.h:32:3: error: #error "You need a ISO C
conforming compiler to use the glibc headers"
pgp.c:405:0: error: #elif with no expression


You still get the error with --traditional -E (run preprossesor only).

--ansi and --pedantic yields the same result.  Running --pedantic -E
seems to generate a preprocessed file correctly.

--From the GCC Man page--
-ansi In C mode, this is equivalent to -std=c90. In C++ mode, it is
equivalent to -std=c++98.

           This turns off certain features of GCC that are incompatible
with ISO C90 (when
           compiling C code), or of standard C++ (when compiling C++
code), such as the "asm" and
           "typeof" keywords, and predefined macros such as "unix" and
"vax" that identify the type
           of system you are using.  It also enables the undesirable and
rarely used ISO trigraph
           feature.  For the C compiler, it disables recognition of C++
style // comments as well
           as the "inline" keyword.

-traditional
       -traditional-cpp
           Formerly, these options caused GCC to attempt to emulate a
pre-standard C compiler.
           They are now only supported with the -E switch.  The
preprocessor continues to support a
           pre-standard mode.  See the GNU CPP manual for details.


Can someone please confirm my SHA256 sum is correct?  Is it compiling on
other people's systems?  I just don't trust the code if I have to change
one line, what others should I be changing...?

A security system like this should really use a git repository...
Technical Details
Message-ID: <89206037c576941127f895a3d766cf97@breaka.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!backlog2.nntp.ams3.giganews.com!backlog2.nntp.ams2.giganews.com!backlog2.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
References: c053466e9e9e32e3379f6cd52d0ef259@anonymitaet-im-inter.net

Show Full Headers
Complete Article Headers
Message-ID: <89206037c576941127f895a3d766cf97@breaka.net>
Subject: Re: Official mixmaster source? Error compiling mixmaster?
Date: Thu, 29 Nov 2012 07:25:06 +0800
From: Anonymous <noreply@breaka.net>
References: c053466e9e9e32e3379f6cd52d0ef259@anonymitaet-im-inter.net
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20141023.mbox.gz!backlog2.nntp.ams3.giganews.com!backlog2.nntp.ams2.giganews.com!backlog2.nntp.ams.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!news2.arglkargh.de!news.dizum.com!sewer-output!mail2news
Newsgroups: alt.privacy.anon-server
X-No-Archive: yes
Mail-To-News-Contact: abuse@dizum.com
Organization: mail2news@dizum.com
Lines: 90