cancel
Showing results for 
Search instead for 
Did you mean: 

Installation of BC-SNC

Former Member
0 Kudos

Hi,

we try to install BC-SNC Adapter do realize Single Sign-On for SAP-GUI with HP-UX applikation server and Kerberos. The installation of Kerberos finished successfully but we get en error during the BC-SNC installation.

Here is the error:


./build."`uname -s`" make do-all
cc +z -Ae -g -DXDEBUG=1 -c snckrb5.c
(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
(Bundled) cc: "gssapi_2.h", line 354: error 1000: Unexpected symbol: "*".
(Bundled) cc: "gssapi_2.h", line 359: error 1000: Unexpected symbol: "*".
(Bundled) cc: "gssapi_2.h", line 360: error 1000: Unexpected symbol: "*".
(Bundled) cc: "gssapi_2.h", line 361: error 1000: Unexpected symbol: "*".
(Bundled) cc: "gssapi_2.h", line 353: error 1506: Parameters allowed in function definition only.
(Bundled) cc: "gssapi_2.h", line 365: error 1000: Unexpected symbol: "gss_release_cred".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

Any ideas about this error?

Regards

Thomas

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

we are trying to do the same. On IBM AIX we got this running, took us some time but finally it works.

How does your build file look like?

What's the compiler you are using?

Do you use 64 Bit UX?

Tha is our AIX buildfile:

#!/bin/sh

#

  1. $Id: build.AIX,v 1.2 1999/08/24 14:39:31 d019080 Exp $

#

  1. OBJECT_MODE 64

#

#

OBJ=".o"

CC="xlc"

MAJOR="`uname -v`"

MINOR="`uname -r`"

CFLAGS="-q64 -qlanglvl=ansi -qarch=com -qspill=2048 -DXDEBUG=1"

if [ "$$" -ge 40 ] ; then #CFLAGS="$CFLAGS -qinfo" CFLAGS="$CFLAGS" else CFLAGS="$CFLAGS -D_POSIX_SOURCE -D_ALL_SOURCE" fi RM="rm -f" EXE="" LD="$CC" LDFLAGS="" LDTARGET='-o $@' XD="" if [ "$$" -ge 42 ] ; then

  1. dlopen() is used in AIX 4.2

SHLIB=".so"

LDLIBS="-ldl"

else

SHLIB=".o"

LDLIBS=""

fi

SHFLAGS=""

LINK_SHARED="ld -L/usr/lib -b64 -bM:SRE -T512 -H512 -bnoentry"

LINK_SHARED_END=" -lc $LDLIBS -bE:sncgss.exp"

#VENLIB="-L/your/software/path -lgssapi"

VENLIB="-L/home/kerberos/tmp -lgssapi_krb5"

if [ "$VENLIB" = "" ] ; then

echo "***"

echo "*** Please edit $0 and define VENLIB to link your"

echo "*** GSS-API v2 shared library"

echo "***"

exit 1

fi

export OBJ CC CFLAGS RM EXE LDLIBS LD LDTARGET LDFLAGS XD

export SHEXT SHFLAGS LINK_SHARED LINK_SHARED_END VENLIB

"$@"