buildworld error - ssl_stat.c:249

From: TAC-TAC computer s.r.o. <jmadle_at_tac-tac.cz>
Date: Wed, 27 Jun 2007 20:30:02 +0200
I have problem with make buildworld. I got always error in : /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_stat.c:249: error

I've read http://lists.freebsd.org/pipermail/freebsd-current/2007-April/071478.html.

If it is really compiler optimization problem, could you help me please with correct/optimal setting?

Thank you in advance for help

Jiri Madle


cat /etc/make.conf
# added by use.perl 2007-06-18 15:28:47
PERL_VER=5.8.8
PERL_VERSION=5.8.8
CPUTYPE?=nocona
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe

I tried also -O2 - same problem.


cc -O -pipe -march=nocona -DTERMIOS -DANSI_SOURCE -I/usr/src/secure/lib/libssl/../../../crypto/openssl -I/usr/src/secure/lib/libssl/../../../crypto/openssl/crypto -I/usr/obj/usr/src/secure/lib/libssl -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_IDEA -DL_ENDIAN -DNO_IDEA  -c /usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_stat.c
/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_stat.c: In function 'SSL_state_string':
/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_stat.c:249: error: stray '\2' in program
/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_stat.c:249: error: 'SSL2_ST_SEND_SERVER_HELLO_' undeclared (first use in this function)
/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_stat.c:249: error: (Each undeclared identifier is reported only once
/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_stat.c:249: error: for each function it appears in.)
*** Error code 1

Stop in /usr/src/secure/lib/libssl.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src

 uname -a
FreeBSD bsd7-aj.tac-tac.cz 7.0-CURRENT-200706 FreeBSD 7.0-CURRENT-200706 #0: Thu Jun  7 21:38:42 UTC 2007     root_at_stiles.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

CPU: Intel(R) Pentium(R) D CPU 3.20GHz (3192.03-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf65  Stepping = 5
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR,PDCM>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2
Received on Wed Jun 27 2007 - 16:47:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:13 UTC