Had lots of problems compling the latest code (1.3.7) on an AIX Server running 6.1. Errors included:
In file included from pam_tacplus.c:41:
libtac/include/libtac.h:127: error: expected ';', ',' or ')' before '.' token
libtac/include/libtac.h:136: error: expected ';', ',' or ')' before '.' token
libtac/include/libtac.h:142: error: expected ';', ',' or ')' before '.' token
looking into the problem, it seems there was a new feature added, with variable "rem_addr"
It seems this variable name is already in use in sys/xmem.h
I named all the rem_addr to rem_addr2 and got past the initial errors, but then got some more.
I went back to an old version 1.3.2 and it compiled completely without error.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I renamed rem_addr and rem_addr_len and commited the code in GIT.
Because I don't have any AIX system available could you clone the git repo and try to compile it?
And if there are still compile errors could you send me the full compile output including the error's?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Can you send me a tar file? My AIX servers are behind multiple firewalls, and haven't access to the internet. Then I'll re-compile and send the full results.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Problems with the PAM TACACS module on the AIX Platform
Had lots of problems compling the latest code (1.3.7) on an AIX Server running 6.1. Errors included:
In file included from pam_tacplus.c:41:
libtac/include/libtac.h:127: error: expected ';', ',' or ')' before '.' token
libtac/include/libtac.h:136: error: expected ';', ',' or ')' before '.' token
libtac/include/libtac.h:142: error: expected ';', ',' or ')' before '.' token
looking into the problem, it seems there was a new feature added, with variable "rem_addr"
It seems this variable name is already in use in sys/xmem.h
I named all the rem_addr to rem_addr2 and got past the initial errors, but then got some more.
I went back to an old version 1.3.2 and it compiled completely without error.
That's a pity, I will look into this problem asap.
I renamed rem_addr and rem_addr_len and commited the code in GIT.
Because I don't have any AIX system available could you clone the git repo and try to compile it?
And if there are still compile errors could you send me the full compile output including the error's?
Can you send me a tar file? My AIX servers are behind multiple firewalls, and haven't access to the internet. Then I'll re-compile and send the full results.
You can download the tar file from http://jeroennijhof.nl/pam_tacplus-1.3.8.tar.gz
I can't send you a message via SF with an attachment ;)