ROCm / ROCgdb

This is ROCgdb, the ROCm source-level debugger for Linux, based on GDB, the GNU source-level debugger.
https://rocm.docs.amd.com/projects/ROCgdb/en/latest/
GNU General Public License v2.0
50 stars 9 forks source link

make failed on CentOS 7.6 #13

Closed yulingao closed 1 month ago

yulingao commented 2 years ago

make[2]: Entering directory '/public/home/gh/JJ/ROCgdb-amd-master/sim' make SIM_PRIMARY_TARGET= all-recursive make[3]: Entering directory '/public/home/gh/JJ/ROCgdb-amd-master/sim' CC common/common_libcommon_a-portability.o In file included from common/portability.c:25:0: common/portability.h:24:5: error: conflicting types for 'getegid' int getegid(void); ^~~ In file included from common/portability.c:23:0: /usr/include/unistd.h:706:16: note: previous declaration of 'getegid' was here extern gid_t getegid (void) THROW; ^~~ In file included from common/portability.c:25:0: common/portability.h:28:5: error: conflicting types for 'geteuid' int geteuid(void); ^~~ In file included from common/portability.c:23:0: /usr/include/unistd.h:700:16: note: previous declaration of 'geteuid' was here extern uid_t geteuid (void) THROW; ^~~ In file included from common/portability.c:25:0: common/portability.h:40:5: error: conflicting types for 'setgid' int setgid(int gid); ^~ In file included from common/portability.c:23:0: /usr/include/unistd.h:739:12: note: previous declaration of 'setgid' was here extern int setgid (gid_t gid) THROW wur; ^~ In file included from common/portability.c:25:0: common/portability.h:44:5: error: conflicting types for 'setuid' int setuid(int uid); ^~ In file included from common/portability.c:23:0: /usr/include/unistd.h:722:12: note: previous declaration of 'setuid' was here extern int setuid (uid_t uid) THROW wur; ^~ common/portability.c:28:5: error: conflicting types for 'getegid' int getegid(void) ^~~ In file included from common/portability.c:23:0: /usr/include/unistd.h:706:16: note: previous declaration of 'getegid' was here extern gid_t getegid (void) THROW; ^~~ common/portability.c:35:5: error: conflicting types for 'geteuid' int geteuid(void) ^~~ In file included from common/portability.c:23:0: /usr/include/unistd.h:700:16: note: previous declaration of 'geteuid' was here extern uid_t geteuid (void) THROW; ^~~ common/portability.c:56:5: error: conflicting types for 'setgid' int setgid(int gid) ^~ In file included from common/portability.c:23:0: /usr/include/unistd.h:739:12: note: previous declaration of 'setgid' was here extern int setgid (gid_t gid) THROW wur; ^~ common/portability.c:63:5: error: conflicting types for 'setuid' int setuid(int uid) ^~ In file included from common/portability.c:23:0: /usr/include/unistd.h:722:12: note: previous declaration of 'setuid' was here extern int setuid (uid_t uid) THROW wur; ^~ make[3]: *** [Makefile:2017: common/common_libcommon_a-portability.o] Error 1

ppanchad-amd commented 1 month ago

@yulingao Apologies for the lack of response. CentOS 7.6 is no longer supported in the latest ROCm 6.2. Closing ticket. Thanks!