On 5. 1. 2017 11:16, folkert wrote: > Hi, > > It looks like the realpath and canonicalize_file_name posix calls are > missing from msys2.
> FHE@Hawking MINGW64 ~/Cornerstone/G4Platforms/G4Cpp/03G4Parsing > C:\msys2\tmp\ccSvFse3.o:can.c:(.text+0x21): undefined reference to > `realpath' > C:\msys2\tmp\ccSvFse3.o:can.c:(.text+0x2d): undefined reference to > `canonicalize_file_name' You're building the program using the mingw-w64 64-bit gcc (as the "MINGW64" indicator and the Windows-style paths suggest). This one produces native Windows binaries but doesn't provide POSIX interfaces. If you need POSIX, start an "MSYS" shell and use its gcc. Or better yet (since this is not what the MSYS2 project is for), use Cygwin and/or wait for Midipix. -- David Macek
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
