Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIX support #33

Open
solardiz opened this issue Jul 12, 2023 · 0 comments
Open

AIX support #33

solardiz opened this issue Jul 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@solardiz
Copy link
Member

solardiz commented Jul 12, 2023

With the changes in #32, this almost builds on AIX. We should be able to fix it to fully build and work if there's demand.

solar@gcc111:[/home/solar/passwdqc]make
        case "`uname -s`" in  Linux)    make CPPFLAGS_lib=" -DPACKAGE=\\\"passwdqc\\\" -DHAVE_SHADOW"  LDFLAGS_lib=" --shared  -Wl,--soname,libpasswdqc.so.1,--version-script,libpasswdqc.map"  LDFLAGS_pam=" --shared  -Wl,--version-script,pam_passwdqc.map"  LDLIBS_pam="-lpam -lcrypt"  all_wrapped;;  SunOS)       make -e CPPFLAGS_lib=" -DPACKAGE=\\\"passwdqc\\\" -DHAVE_SHADOW"  LD_lib=/usr/ccs/bin/ld  LDFLAGS_lib=" -G"  LDFLAGS_pam=" -G"  LDLIBS_pam="-lpam -lcrypt"  INSTALL="/usr/ucb/install -c"  SHARED_LIBDIR="/usr/lib"  SECUREDIR="/usr/lib/security"  all_wrapped;;  HP-UX)       make CPPFLAGS_lib=" -DPACKAGE=\\\"passwdqc\\\" -DHAVE_SHADOW"  LD_lib=ld  LDFLAGS_lib=" -b"  LDFLAGS_pam=" -b"  LDLIBS_pam="-lpam -lsec"  all_wrapped;;  Darwin)        make  SHARED_LIB="libpasswdqc.0.dylib"  DEVEL_LIB="libpasswdqc.dylib"  SECUREDIR="/usr/lib/pam"  LDLIBS_pam="-lpam -lSystem"  all_wrapped;;  CYGWIN_NT*) make CPPFLAGS_lib=" -DPACKAGE=\\\"passwdqc\\\""  SHARED_LIB="cygpasswdqc-0.dll"  SHARED_LIBDIR="/usr/bin"  DEVEL_LIB="libpasswdqc.dll.a"  LDFLAGS_lib=" --shared  -Wl,--out-implib=libpasswdqc.dll.a  -Wl,--export-all-symbols  -Wl,--enable-auto-import"  BINS="pwqgen pwqcheck pwqfilter cygpasswdqc-0.dll"  CYGWIN=true  all_wrapped;;  *)  make all_wrapped;;  esac
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c pam_passwdqc.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c passwdqc_memzero.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c concat.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c md4.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c passwdqc_check.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c passwdqc_filter.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c passwdqc_load.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c passwdqc_parse.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c passwdqc_random.c
<command-line>: warning: missing terminating " character
        gcc  -DPACKAGE=\\\"passwdqc\\\" -Wall -W -O2 -fPIC -c wordset_4k.c
<command-line>: warning: missing terminating " character
        gcc  --shared concat.o md4.o passwdqc_check.o passwdqc_filter.o passwdqc_load.o passwdqc_memzero.o passwdqc_parse.o passwdqc_random.o wordset_4k.o  -o libpasswdqc.so.1
        if [ "" != true ]; then  ln -s -f libpasswdqc.so.1 libpasswdqc.so;  fi
        gcc  --shared pam_passwdqc.o passwdqc_memzero.o -lpam -lcrypt -L. -lpasswdqc -o pam_passwdqc.so
ld: 0706-006 Cannot find or open library file: -l passwdqc
        ld:open(): A file or directory in the path name does not exist.
collect2: error: ld returned 255 exit status
make: 1254-004 The error code from the last command is 1.
@solardiz solardiz added the enhancement New feature or request label Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant