I'm trying to compile OpenSSL 1.0.1h on Tandem (aka NonStop).

I'm getting the following errors:
c89 -I.. -I../include  -Ww -D__TANDEM -D_XOPEN_SOURCE 
-D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN   -c -o heartbeat_test.o 
heartbeat_test.c
        SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 276: error(114):
          identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 294: error(114):
         identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 312: error(114):
          identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 326: error(114):
          identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(dtls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 343: error(114):
          identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(tls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 360: error(114):
          identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(tls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 378: error(114):
          identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(tls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 396: error(114):
          identifier "__func__" is undefined


        SETUP_HEARTBEAT_TEST_FIXTURE(tls);
        ^
"/home/devbuild/openssl-1.0.1h/test/heartbeat_test.c", line 410: error(114):
          identifier "__func__" is undefined


9 errors detected in the compilation of "heartbeat_test.c".
c89: /usr/lib/cfe exited, returning 2.
make[1]: *** [heartbeat_test.o] Error 1

Any suggestions on where this is going wrong?  Looks like the macro is 
referencing the parameter __func__, but I don't see that being defined.

________________________________

Wayne D. T. Johnson
Staff Specialist Product Developer
BMC Software

phone: 952.345.8628
BMC 5 digit: 58628
fax: 952.345.8721

1600 Tower, Suite 450
1600 Utica Av. So.
St. Louis Park, MN 55416


[BMC Software]<http://www.bmc.com/>





Reply via email to