Discussion:
[openssl.org #3534] When I build openssl-1.0.1i on Solaris 10, there are some error, please help to check what is the reason. Thanks.
yuan.bengang@zte.com.cn via RT
2014-09-17 18:27:18 UTC
Permalink
Hi,
When I build openssl-1.0.1i on Solaris 10, there are some error, please
help to check what is the reason. Thanks.

making all in engines/ccgost...
make[2]: Entering directory '/ybg/openssl-1.0.1i/engines/ccgost'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/ybg/openssl-1.0.1i/engines/ccgost'
make[1]: Leaving directory '/ybg/openssl-1.0.1i/engines'
making all in apps...
make[1]: Entering directory '/ybg/openssl-1.0.1i/apps'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/ybg/openssl-1.0.1i/apps'
making all in test...
make[1]: Entering directory '/ybg/openssl-1.0.1i/test'
gcc -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall
-DB_ENDIAN -DBN_DIV2W -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM
-DSHA512_ASM -DAES_ASM -DGHASH_ASM -c -o md2test.o md2test.c
md2test.c:1: error: syntax error before '.' token
md2test.c:1:12: warning: no newline at end of file
<builtin>: recipe for target 'md2test.o' failed
make[1]: *** [md2test.o] Error 1
make[1]: Leaving directory '/ybg/openssl-1.0.1i/test'
Makefile:286: recipe for target 'build_tests' failed
make: *** [build_tests] Error 1

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
Salz, Rich
2014-09-17 21:06:40 UTC
Permalink
Post by ***@zte.com.cn via RT
-DSHA512_ASM -DAES_ASM -DGHASH_ASM -c -o md2test.o md2test.c
md2test.c:1: error: syntax error before '.' token
md2test.c:1:12: warning: no newline at end of file
Your copy of this file is corrupted.
; wc test/md2test.c
48 148 955 test/md2test.c
;
�zt�,����-��i��0Š^��%��z�����X������^��%u������Z+
Rich Salz via RT
2014-09-24 18:59:27 UTC
Permalink
Somehow your md2test.c file is corrupted.
Line 1 should be "#include <stdio.h>" and the file has 48 lines.
--
Rich Salz, OpenSSL dev team; ***@openssl.org

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
Salz, Rich
2014-09-25 02:41:15 UTC
Permalink
The error makes no sense. The compiler is complaining about the include line?
Do "wc -l md2test.c"
--
Principal Security Engineer, Akamai Technologies
IM: ***@jabber.me<mailto:***@jabber.me> Twitter: RichSalz
Salz, Rich via RT
2014-09-25 02:41:23 UTC
Permalink
The error makes no sense. The compiler is complaining about the include line?
Do "wc -l md2test.c"
--
Principal Security Engineer, Akamai Technologies
IM: ***@jabber.me<mailto:***@jabber.me> Twitter: RichSalz

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
y***@zte.com.cn
2014-09-25 03:18:38 UTC
Permalink
Result as follow:

-bash-3.00# wc -l md2test.c
0 md2test.c
-bash-3.00#
-bash-3.00# cat md2test.c
dummytest.c-bash-3.00#
-bash-3.00#

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.
yuan.bengang@zte.com.cn via RT
2014-09-25 21:20:58 UTC
Permalink
Result as follow:

-bash-3.00# wc -l md2test.c
0 md2test.c
-bash-3.00#
-bash-3.00# cat md2test.c
dummytest.c-bash-3.00#
-bash-3.00#

--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
Salz, Rich
2014-09-26 01:01:27 UTC
Permalink
Somehow the file that you have is corrupted.
It is not corrupted in the tar file.
It is a local error.
I do not know what the error is but mdtest.c on your disk is WRONG.
Salz, Rich via RT
2014-09-26 01:01:38 UTC
Permalink
Somehow the file that you have is corrupted.
It is not corrupted in the tar file.
It is a local error.
I do not know what the error is but mdtest.c on your disk is WRONG.



______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
y***@zte.com.cn
2014-09-30 01:27:15 UTC
Permalink
I have got the reason.

It's the problem of unzip tools.

After I unzipped the files on windows, the file has some error.

But when I unzip on SUSE, it's no problem.

Thanks.
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.
yuan.bengang@zte.com.cn via RT
2014-10-01 07:07:54 UTC
Permalink
I have got the reason.

It's the problem of unzip tools.

After I unzipped the files on windows, the file has some error.

But when I unzip on SUSE, it's no problem.

Thanks.
--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
yuan.bengang@zte.com.cn via RT
2014-09-25 21:20:53 UTC
Permalink
md2test.c has no problem, I downloaded from openssl.org:

http://www.openssl.org/source/openssl-1.0.1i.tar.gz

Thanks.




"Rich Salz via RT" <***@openssl.org>
2014-09-25 02:59
请答复 给
***@openssl.org


收件人
***@zte.com.cn,
抄送
openssl-***@openssl.org
主题
[openssl.org #3534] When I build openssl-1.0.1i on Solaris 10, there are
some error, please help to check what is the reason. Thanks.






Somehow your md2test.c file is corrupted.
Line 1 should be "#include <stdio.h>" and the file has 48 lines.
--
Rich Salz, OpenSSL dev team; ***@openssl.org



--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s). If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited. If you have received this mail in error, please delete it and notify us immediately.

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
Loading...