问题
I am got source files from an application on IBM AIX and I am trying to build them on Linux. However I am getting compilation errors header file not found.
When compiled source from AIX on Linux got error these headers not found:
usersec.h
userpw.h
sys/mode.h
standards.h
After I Googled I realized they are headers (/usr/include/usersec.h
) for user management (user authentication and pwd verification etc) funtions on AIX.
As there is no equivalent header on Linux, I like to know what is best practice to port these functions? What are there equivalent headers/functions on Linux.
As there is not much information I found on net hence posting it here as I am badly stuck. Thank you.
Update: Details of functions being migrated are mentioned in another question
来源:https://stackoverflow.com/questions/57050832/header-files-not-found-when-porting-from-aix-to-linux