Compile error on Tandem

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

Compile error on Tandem

Johnson, Wayne

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

 

 

Reply | Threaded
Open this post in threaded view
|

RE: Compile error on Tandem

Johnson, Wayne

Never mind, #3380 fixed this for me.

 

From: Johnson, Wayne
Sent: Monday, July 14, 2014 10:11 AM
To: '[hidden email]'
Subject: Compile error on Tandem

 

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

 

 

Reply | Threaded
Open this post in threaded view
|

RE: Compile error on Tandem

Scott Neugroschl-2
In reply to this post by Johnson, Wayne

Wayne, there’s a Tandem port on ITUGLIB.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Johnson, Wayne
Sent: Monday, July 14, 2014 8:11 AM
To: '[hidden email]'
Subject: Compile error on Tandem

 

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