[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtasn1 compile issue in ANS1.c
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: libtasn1 compile issue in ANS1.c |
Date: |
Sun, 24 May 2009 20:41:11 +0300 |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090409) |
Didier Godefroy wrote:
> Hello,
>
> Trying to compile the stand alone libtans1 on a tru64 5.1b system.
> I get errors in lib/ASN1.c on the TRUE and FALSE enumerators:
>
> source='ASN1.c' object='ASN1.lo' libtool=yes \
> DEPDIR=.deps depmode=tru64 /bin/bash ../build-aux/depcomp \
> /bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.
> -I.. -I./gllib -DASN1_BUILDING -pthread -I/usr/local/include -O4 -g3 -w
> -c -o ASN1.lo ASN1.c
> libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I./gllib -DASN1_BUILDING
> -pthread -I/usr/local/include -O4 -g3 -w -c -MD ASN1.c -DPIC -o
> .libs/ASN1.o
> cc: Error: ASN1.c, line 153: Invalid enumerator. (badenum)
> TRUE = 277,
> -----^
> cc: Error: ASN1.c, line 154: Invalid enumerator. (badenum)
> FALSE = 278,
> -----^
>
> They look to me to be the same as all the others, but only TRUE and FALSE
> are causing the error.
> I haven't found any hints on possible fixes and the latest daily snapshot
> doesn't fix that either.
maybe TRUE and FALSE are reserved in this compiler. If you replace them
with ASN1_TRUE and ASN1_FALSE the compiler complains?
regards,
Nikos
- libtasn1 compile issue in ANS1.c, Didier Godefroy, 2009/05/24
- Re: libtasn1 compile issue in ANS1.c,
Nikos Mavrogiannopoulos <=
- Re: libtasn1 compile issue in ANS1.c, Nikos Mavrogiannopoulos, 2009/05/25
- Re: libtasn1 compile issue in ANS1.c, Simon Josefsson, 2009/05/28
- Re: libtasn1 compile issue in ANS1.c, Simon Josefsson, 2009/05/28
- Re: libtasn1 compile issue in ANS1.c, Simon Josefsson, 2009/05/28
- Re: libtasn1 compile issue in ANS1.c, Simon Josefsson, 2009/05/28