buildworld error - ssl_stat.c:249

TAC-TAC computer s.r.o. jmadle at
Wed Jun 27 18:47:29 UTC 2007

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

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
CFLAGS= -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 7.0-CURRENT-200706 FreeBSD 7.0-CURRENT-200706 #0: Thu Jun  7 21:38:42 UTC 2007     root at  amd64

CPU: Intel(R) Pentium(R) D CPU 3.20GHz (3192.03-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf65  Stepping = 5
  AMD Features=0x20100800<SYSCALL,NX,LM>
  AMD Features2=0x1<LAHF>
  Cores per package: 2

More information about the freebsd-current mailing list