Originally created by: areim1...@gmail.com
I'am using DevKitPPC [r26] for compiling my code. The Linker throws the following exceptions:
->
/opt/devkitpro/3rd/wii/lib/libntfs.a(security.o): In function `link_single_group.isra.6':
security.c:(.text.link_single_group.isra.6+0x20): undefined reference to `getgrgid'
/opt/devkitpro/3rd/wii/lib/libntfs.a(security.o): In function `ntfs_build_mapping':
security.c:(.text.ntfs_build_mapping+0x1f8): undefined reference to `getpwuid'
/opt/devkitpro/3rd/wii/lib/libntfs.a(security.o): In function `ntfs_initialize_file_security':
security.c:(.text.ntfs_initialize_file_security+0x34): undefined reference to `getuid'
security.c:(.text.ntfs_initialize_file_security+0x90): undefined reference to `getuid'
security.c:(.text.ntfs_initialize_file_security+0x98): undefined reference to `getgid'
security.c:(.text.ntfs_initialize_file_security+0xf8): undefined reference to `getuid'
/opt/devkitpro/3rd/wii/lib/libntfs.a(acls.o): In function `ntfs_do_user_mapping':
acls.c:(.text.ntfs_do_user_mapping+0x70): undefined reference to `getpwnam'
/opt/devkitpro/3rd/wii/lib/libntfs.a(acls.o): In function `ntfs_do_group_mapping':
acls.c:(.text.ntfs_do_group_mapping+0x94): undefined reference to `getgrnam'
collect2: ld returned 1 exit status
<-
Did I something wrong or newer DevKitPPC versions don't work anymore?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: areim1...@gmail.com
The Linker throws that exception only if I use the flag:
-Wl,--no-gc-sections