Mixmaster on LinuxPPC...

Mixmaster on LinuxPPC...

Post by W Crowsh » Wed, 29 Sep 1999 04:00:00



Has anybody successfully compiled Mixmaster 2.0.4 an LinuxPPC?  I am
currently trying to do so, but have encountered several problems.  It will
presumably compile for linux.

Any tips?

--
wcrowshaw

 
 
 

Mixmaster on LinuxPPC...

Post by Rich Laffer » Thu, 30 Sep 1999 04:00:00



> Has anybody successfully compiled Mixmaster 2.0.4 an LinuxPPC?  I am
> currently trying to do so, but have encountered several problems.  It will
> presumably compile for linux.

> Any tips?

Tip #1: Tell us what the problems *are* :-)

 -r.

--
Rich Lafferty ----------------------------------------
 Nocturnal Aviation Division, IITS/Computing Services
 Concordia University, Montreal, QC        


 
 
 

Mixmaster on LinuxPPC...

Post by wcrows.. » Fri, 01 Oct 1999 04:00:00





>> Has anybody successfully compiled Mixmaster 2.0.4 an LinuxPPC?  I am
>> currently trying to do so, but have encountered several problems.  It
will
>> presumably compile for linux.

>> Any tips?
> Tip #1: Tell us what the problems *are* :-)
>  -r.

That's cool.  OK.  I try to install mixmaster using the install script,
which asks me several questions and then goes onto compile.  The problem
happens during the compile when it attempts to make the main.o object
file.
The command to compile main.c is
gcc - main.c -o main.o -Izlib -Iprce -Xbsafe -DUSE_ZLIB -DUSE_RX
-DUSE_BSAFE -g -Wall -static -DSPOOL='"home/myaccount/Mix"'

Compile stops and I get the following error message:

main.c:206: initializer element is not constant
gmake: *** [main.o] Error 1

Now my interpretation of this error message says to look at a problem in
main.c at line 206. The line reads:

FILE *errlog = stderr;

Strictly speaking, this should not be an error.  It is a correct
assignment.

Does this provide anymore clues?

--
wcrowshaw

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Mixmaster on LinuxPPC...

Post by Wim Lew » Sat, 02 Oct 1999 04:00:00



>Compile stops and I get the following error message:

>main.c:206: initializer element is not constant
>gmake: *** [main.o] Error 1

>Now my interpretation of this error message says to look at a problem in
>main.c at line 206. The line reads:

>FILE *errlog = stderr;

>Strictly speaking, this should not be an error.  It is a correct
>assignment.

I ran into this when recompiling a few of my own utilities for my pmac.
I just moved the assignment to the beginning of main(). (If you have c++
constructors you might be screwed, though --- but mixmaster is straight C
IIRC.)

I don't know, offhand, whether the relevant standard (ansi? posix?) states
that the stdio streams have to be compile-time constants. Traditionally
stderr is &_iob[2] or something like that. Looking in my headers it's
declared as an extern FILE * now. I suspect it's a glibc thing, not a
ppc thing.

--

 
 
 

Mixmaster on LinuxPPC...

Post by W. Crowsh » Wed, 06 Oct 1999 04:00:00



>>> Has anybody successfully compiled Mixmaster 2.0.4 an LinuxPPC?  I am
>>> currently trying to do so, but have encountered several problems.  It
>will
>>> presumably compile for linux.

>>> Any tips?

This is a floowup, I got the errlog = stderr to compile, but now I am
encountering another problem.  Sorry to have to walk you throug the whole
compile, but I am new to linux programming (which I thought would be
easier -- but, ironically, I find mac programming easier, or at least the
MW C compiler easier to understand.

Anyway, when it comes to compiling the file bsafeey.c with this command:
gcc -ggdb -I. -I../ssleay/include -c bsafeeay.c
I get a number of complaints from the assembler, about two error messages
that look like this
/tmp/ccPFvjCD.s: Assembler messages:
/tmp/ccPFvjCD.s: Error: Bad expression
/tmp/ccPFvjCD.s: Error: Resto of line ignored.  First ignored character is
'A'.

What do these messages mean?

--
wcrowshaw

 
 
 

1. mixmaster compile probs

  Hey, maybe someone here can help out.   I1m using OS X (Darwin), and
recently I downloaded the mixmaster 2.9 client and remailer from:
ftp://mixmaster.anonymizer.com/
(got both mix-2.9b23.tar.gz and mix-libs-2.9b8.tar.gz), and tried to
compile them under OS X.   It immediately ran into problems; it couldn't
guess that Darwin-whatever-BSD was a FreeBSD variant.   So I added
another entry to the config (in the /Src/openssl directory) to recognize
the machine, and it seemed to work, but just before it ran the makefile
the Install died with a couple of errors (although it tried to run over
the errors).   I'm working my way through the install files, but it's
getting rough.   Is there someone out there that might be able to lend
me some insight, or maybe has already compiled mixmaster 2.9 under OS X
(or Darwin)?

  Thanks.

I decided to add the ./Install output to the end of the message. (the
part which is failing)...

<removed bunch of stuff>
pkcs12.h => ../../include/openssl/pkcs12.h
making links in crypto/comp...
Makefile => Makefile.ssl
comp.h => ../../include/openssl/comp.h
cd: no such file or directory: ssl
make: *** [links] Error 1
Looking for libncurses.a...
Found source directory ncurses-4.2.
Configuring...
loading cache ./config.cache
Configuring NCURSES 4.2 ABI 4 (Wed Jul  4 00:42:26 EDT 2001)
checking host system type... configure: error: can not guess host type;
you must specify one
Generating Makefile.
Please enter a pass phrase for your remailer (must be the same
whenever you re-compile Mixmaster).
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Compiling. Please wait.
gcc -Izlib-1.1.3 -Ipcre-2.05 -Iopenssl-0.9.3a/include
-Iopenssl-0.9.3a/include/openssl -Incurses-4.2/include -DUSE_ZLIB
-DUSE_PCRE -DUSE_NCURSES -DUSE_SOCK -DSPOOL='"/Users/mix/Mix"'
-DPASSPHRASE='"sonyaginmi"' -g -Wall   -c -o mix.o mix.c
make: gcc: Command not found
make: *** [mix.o] Error 127
Error: The compilation failed. Please consult the documentation (section
`Installation problems').
Remove the old Makefile? [y]
[localhost:~/Src] mix%
--
To get random signatures put text files into a folder called 3Random Signatures2 into your Preferences folder.

2. X4.0: libfont.so.1

3. Apache server, Solaris 2.3 Precompiled.

4. Full LinuxPPC 2000 at ftp.linuxppc.org ??

5. std in/out script problem

6. LinuxPPC vs. LinuxPPC Lite

7. NFS root on 2.4.18-14

8. LinuxPPC and PB1400s (FW: from nubus-LinuxPPC list)

9. ATTENZIONE! LinuxPPC nuovo sito "Daily LinuxPPC (Dite la vostra)

10. Does LinuxPPC work with Matrox Millenium ? Could not install LinuxPPC

11. ssh & linuxppc

12. LinuxPPC and Rage 128