[FWD] bug report

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[FWD] bug report

Lutz Jaenicke-3
Forwarded to openssl-users

Best regards,
        Lutz
--
Lutz Jaenicke           [hidden email]
OpenSSL Project         http://www.openssl.org/~jaenicke/

Hi,

 

I can’t seem to run make on my Ubuntu machine. Have been trying with the openssl-1.0.0g.tar.gz

I’ve also tried to make clean before, and to run ./config no-asm

Here’s what I’m getting when I run make after the above (I tried to search for the file called stdlib.h, and indeed I don’t find it…):

making all in crypto...

make[1]: Entering directory `/root/setup/openssl-1.0.0g/crypto'

( echo "#ifndef MK1MF_BUILD"; \

        echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \

        echo '  #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall"'; \

        echo '  #define PLATFORM "linux-elf"'; \

        echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \

        echo '#endif' ) >buildinf.h

gcc -I. -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall   -c -o cryptlib.o cryptlib.c

In file included from cryptlib.c:117:

cryptlib.h:62:20: error: stdlib.h: No such file or directory

cryptlib.h:63:20: error: string.h: No such file or directory

In file included from cryptlib.h:65,

                 from cryptlib.c:117:

../e_os.h:447:30: error: unistd.h: No such file or directory

../e_os.h:452:29: error: sys/types.h: No such file or directory

In file included from cryptlib.h:72,

                 from cryptlib.c:117:

../include/openssl/crypto.h:125:19: error: stdio.h: No such file or directory

In file included from cryptlib.h:72,

                 from cryptlib.c:117:

../include/openssl/crypto.h:175: error: expected specifier-qualifier-list before גsize_tג

../include/openssl/crypto.h:465: warning: parameter names (without types) in function declaration

../include/openssl/crypto.h:465: error: expected declaration specifiers or ג...ג before גsize_tג

../include/openssl/crypto.h:466: warning: parameter names (without types) in function declaration

../include/openssl/crypto.h:467: error: expected ג)ג before גconstג

../include/openssl/crypto.h:468: error: expected ג;ג, ג,ג or ג)ג before גvoidג

../include/openssl/crypto.h:470: error: expected ג)ג before גconstג

../include/openssl/crypto.h:471: error: expected ג;ג, ג,ג or ג)ג before גvoidג

../include/openssl/crypto.h:477: warning: parameter names (without types) in function declaration

../include/openssl/crypto.h:477: error: expected declaration specifiers or ג...ג before גsize_tג

../include/openssl/crypto.h:478: warning: parameter names (without types) in function declaration

../include/openssl/crypto.h:479: error: expected ג)ג before גconstג

../include/openssl/crypto.h:480: error: expected ג;ג, ג,ג or ג)ג before גvoidג

../include/openssl/crypto.h:482: error: expected ג)ג before גconstג

../include/openssl/crypto.h:483: error: expected ג;ג, ג,ג or ג)ג before גvoidג

../include/openssl/crypto.h:500: error: expected declaration specifiers or ג...ג before גsize_tג

../include/openssl/crypto.h:535: error: expected ג)ג before ג*ג token

In file included from cryptlib.h:74,

                 from cryptlib.c:117:

../include/openssl/bio.h:579: error: expected ג)ג before ג*ג token

../include/openssl/bio.h:648: error: expected ג)ג before ג*ג token

../include/openssl/bio.h:649: error: expected ג)ג before ג*ג token

In file included from ../include/openssl/err.h:127,

                 from cryptlib.h:75,

                 from cryptlib.c:117:

../include/openssl/lhash.h:186: error: expected declaration specifiers or ג...ג before גFILEג

../include/openssl/lhash.h:187: error: expected declaration specifiers or ג...ג before גFILEג

../include/openssl/lhash.h:188: error: expected declaration specifiers or ג...ג before גFILEג

In file included from cryptlib.h:75,

                 from cryptlib.c:117:

../include/openssl/err.h:140:19: error: errno.h: No such file or directory

In file included from cryptlib.h:75,

                 from cryptlib.c:117:

../include/openssl/err.h:343: error: expected ג)ג before ג*ג token

cryptlib.c: In function גCRYPTO_THREADID_set_numericג:

cryptlib.c:426: warning: implicit declaration of function גmemsetג

cryptlib.c:426: warning: incompatible implicit declaration of built-in function גmemsetג

cryptlib.c: In function גCRYPTO_THREADID_set_pointerג:

cryptlib.c:437: warning: incompatible implicit declaration of built-in function גmemsetג

cryptlib.c: In function גCRYPTO_THREADID_currentג:

cryptlib.c:503: error: גerrnoג undeclared (first use in this function)

cryptlib.c:503: error: (Each undeclared identifier is reported only once

cryptlib.c:503: error: for each function it appears in.)

cryptlib.c: In function גCRYPTO_THREADID_cmpג:

cryptlib.c:509: warning: implicit declaration of function גmemcmpג

cryptlib.c: In function גCRYPTO_THREADID_cpyג:

cryptlib.c:514: warning: implicit declaration of function גmemcpyג

cryptlib.c:514: warning: incompatible implicit declaration of built-in function גmemcpyג

cryptlib.c: In function גCRYPTO_thread_idג:

cryptlib.c:548: warning: implicit declaration of function גgetpidג

cryptlib.c: In function גOPENSSL_showfatalג:

cryptlib.c:878: warning: implicit declaration of function גvfprintfג

cryptlib.c:878: error: גstderrג undeclared (first use in this function)

cryptlib.c: In function גOpenSSLDieג:

cryptlib.c:890: warning: implicit declaration of function גabortג

cryptlib.c:890: warning: incompatible implicit declaration of built-in function גabortג

cryptlib.c: In function גOPENSSL_stderrג:

cryptlib.c:898: error: גstderrג undeclared (first use in this function)

make[1]: *** [cryptlib.o] Error 1

make[1]: Leaving directory `/root/setup/openssl-1.0.0g/crypto'

make: *** [build_crypto] Error 1

 

 

Uri Tagger

א

Mobile:  +972-52-8874874

[hidden email]

www.CodeOasis.com

Description: Description: cid:image001.gif@01CA3C3A.6AF373F0

 

Reply | Threaded
Open this post in threaded view
|

Re: [FWD] bug report

Michael S. Zick-4
On Tue January 24 2012, Lutz Jaenicke wrote:
> I can’t seem to run make on my Ubuntu machine. Have been trying with the
> openssl-1.0.0g.tar.gz
>
> I’ve also tried to make clean before, and to run ./config no-asm
>
> Here’s what I’m getting when I run make after the above (I tried to search
> for the file called stdlib.h, and indeed I don’t find it…):
>

That should be included with the toolchain on your machine, try:
apt-get install build-essentials
(or whatever name the package is on your Ubuntu installation).

And:
apt-get build-deps OpenSSl
(again, correct the arguments to match your Ubuntu installation).
would probably not hurt any either.

Mike
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]