Header files not found when porting from AIX to linux

放肆的年华 提交于 2019-12-13 03:49:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!