Mailing List Archive

Trouble compiling ripmime-1.3.1.2 on solaris 7 with gcc-3.3.2 & make-3.8
Hello,

Whenever I try to make ripmime-1.3.1.2 on my solaris 7 machine with
gcc-3.3.2 and make-3.80 it breaks with the following error:

# make
./build_tnef
make[1]: Entering directory `/export/home/nick/ripmime-1.3.1.2/tnef'
cc -Wall -g -O2 -D___TNEF_BYTE_ORDER=4321 -c tnef.c
make[1]: Leaving directory `/export/home/nick/ripmime-1.3.1.2/tnef'
cc -Wall -g -O2 -Werror -DRIPOLE -c strstack.c
cc -Wall -g -O2 -Werror -DRIPOLE -c mime.c
cc -Wall -g -O2 -Werror -DRIPOLE -c ffget.c
cc -Wall -g -O2 -Werror -DRIPOLE -c MIME_headers.c
MIME_headers.c: In function `MIMEH_parse_header_parameter':
MIME_headers.c:1145: warning: subscript has type `char'
make: *** [MIME_headers.o] Error 1

When I run make -d for more detail, it ends with these lines regarding
MIME_headers.c:

Must remake target `MIME_headers.o'.
cc -Wall -g -O2 -Werror -DRIPOLE -c MIME_headers.c
Putting child 0x00055a28 (MIME_headers.o) PID 11589 on the chain.
Live child 0x00055a28 (MIME_headers.o) PID 11589
MIME_headers.c: In function `MIMEH_parse_header_parameter':
MIME_headers.c:1145: warning: subscript has type `char'
Got a SIGCHLD; 1 unreaped children.
Reaping losing child 0x00055a28 PID 11589
make: *** [MIME_headers.o] Error 1
Removing child 0x00055a28 PID 11589 from chain.


I can compile ripmime 1.3.1.1 with no problems whatsoever, so I don't
think that it is my compiler, but then again I am not a programmer. If
you could offer any assistance, it would be greatly appreciated.

Nicolas MacPherson


_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
Re: Trouble compiling ripmime-1.3.1.2 on solaris 7 with gcc-3.3.2 & make-3.8 [ In reply to ]
On Tue, 22 Jun 2004 14:04:56 -0400
Nicolas MacPherson <nickm@mnsi.net> wrote:

> Hello,
>
> Whenever I try to make ripmime-1.3.1.2 on my solaris 7 machine with
> gcc-3.3.2 and make-3.80 it breaks with the following error:

Take the '-Werror' out of the Makefile

The warnings will still appear, but they won't cause a compile failure.

Paul.

--
Paul L Daniels - PLD Software - Xamime
Unix systems Internet Development A.B.N. 19 500 721 806
ICQ#103642862,AOL:pldsoftware,Yahoo:pldaniels73
PGP Public Key at http://www.pldaniels.com/gpg-keys.pld

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general
Re: Trouble compiling ripmime-1.3.1.2 on solaris 7 with gcc-3.3.2 & make-3.8 [ In reply to ]
Paul L Daniels wrote:

>On Tue, 22 Jun 2004 14:04:56 -0400
>Nicolas MacPherson <nickm@mnsi.net> wrote:
>
>
>
>>Hello,
>>
>> Whenever I try to make ripmime-1.3.1.2 on my solaris 7 machine with
>>gcc-3.3.2 and make-3.80 it breaks with the following error:
>>
>>
>
>Take the '-Werror' out of the Makefile
>
>The warnings will still appear, but they won't cause a compile failure.
>
>Paul.
>
>
>
Paul,

Thank you very much, it worked.

Nick

_______________________________________________
Ripmime-general mailing list
Ripmime-general@pldaniels.com
http://www.pldaniels.com/mailman/listinfo/ripmime-general