#1 Compilation error

open
nobody
None
5
2008-03-01
2008-03-01
Kurtnoise
No

I'm trying to compile your tools with MinGW on win32 plateform but I get some error during the compilation :

udf.h:651: warning: `packed' attribute ignored
mkudfiso.cpp: In constructor `FileEntry::FileEntry()':
mkudfiso.cpp:162: warning: converting of negative value `-0x000000001' to `UDF_Uint32'
mkudfiso.cpp: In function `int scan_contents(const char*, UDF_Uint64)':
mkudfiso.cpp:363: error: aggregate `stat64 st' has incomplete type and cannot be defined
mkudfiso.cpp:364: error: `lstat64' was not declared in this scope
mkudfiso.cpp:368: error: `S_ISLNK' was not declared in this scope
mkudfiso.cpp: In function `void UDF_subdirectory(UDF_short_ad*, OutputExtent*, UDF_Uint64, OutputExtent*)':
mkudfiso.cpp:596: warning: converting of negative value `-0x000000001' to `UDF_Uint32'
mkudfiso.cpp:597: warning: converting of negative value `-0x000000001' to `UDF_Uint32'
mkudfiso.cpp: In function `int main(int, char**)':
mkudfiso.cpp:766: error: `readlink' was not declared in this scope
mkudfiso.cpp:1103: warning: converting of negative value `-0x000000001' to `UDF_Uint32'
mkudfiso.cpp:1104: warning: converting of negative value `-0x000000001' to `UDF_Uint32'
mkudfiso.cpp:1206: warning: converting of negative value `-0x000000001' to `UDF_Uint32'
mkudfiso.cpp:1207: warning: converting of negative value `-0x000000001' to `UDF_Uint32'
mkudfiso.cpp:1410: error: `open64' was not declared in this scope
mkudfiso.cpp:1422: warning: converting of negative value `-0x000000001' to `UDF_Uint64'
mkudfiso.cpp:1452: error: `open64' was not declared in this scope
mkudfiso.cpp:1508: error: `open64' was not declared in this scope
mkudfiso.cpp:1676: error: `open64' was not declared in this scope
mkudfiso.cpp:1689: error: `open64' was not declared in this scope
make[1]: *** [mkudfiso.o] Error 1
make[1]: Leaving directory `/c/tmp/mkudfiso/src'
make: *** [all-recursive] Error 1

what's going on ?

Discussion