You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asmkernel.c: In function ‘trimFileName’:
asmkernel.c:74: warning: incompatible implicit declaration of built-in function ‘strlen’
asmkernel.c: In function ‘getASMBlockHeader’:
asmkernel.c:99: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMBlockMetaData’:
asmkernel.c:156: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:158: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘getASMFileHeader’:
asmkernel.c:234: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMExtentHeader’:
asmkernel.c:318: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMFileExtent’:
asmkernel.c:349: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMAliasHeader’:
asmkernel.c:396: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMAliasRecord’:
asmkernel.c:444: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:453: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘initASMDisk’:
asmkernel.c:485: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘readFromDisk’:
asmkernel.c:544: error: incompatible types when assigning to type ‘fpos_t’ from type ‘ub8’
asmkernel.c: In function ‘closeDiskGroup’:
asmkernel.c:575: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘openDiskGroup’:
asmkernel.c:623: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:642: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘openDiskGroupDisk’:
asmkernel.c:689: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:691: warning: incompatible implicit declaration of built-in function ‘strlen’
asmkernel.c: In function ‘readDiskGroupBlock’:
asmkernel.c:781: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:789: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘setDiskGroupCache’:
asmkernel.c:809: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:810: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:816: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:817: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c: In function ‘listASMFileExtent’:
asmkernel.c:997: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1000: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1072: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘listASMFileEntry’:
asmkernel.c:1092: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1095: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1178: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘getASMFileEntry’:
asmkernel.c:1204: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1207: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1231: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:1272: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:1286: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘listASMAliasEntry’:
asmkernel.c:1330: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1333: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1435: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘copyASMFileOut’:
asmkernel.c:1480: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1484: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1520: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:1558: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:1585: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:1603: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘readFileExtentCache’:
asmkernel.c:1626: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1630: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1730: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘readASMFileData’:
asmkernel.c:1836: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1843: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘readASMOracleBlock’:
asmkernel.c:1905: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1912: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘dumpASMFileBlock’:
asmkernel.c:1953: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1957: warning: incompatible implicit declaration of built-in function ‘free’
The text was updated successfully, but these errors were encountered:
dba-lex
changed the title
compile error
RHEL 6.6 compile error
Jul 6, 2016
gcc -O2 -DSIMPLE_FPOS_T -o aulasm.bin aulasm2.c asmkernel.c
asmkernel.c: In function ‘trimFileName’:
asmkernel.c:74: warning: incompatible implicit declaration of built-in function ‘strlen’
asmkernel.c: In function ‘getASMBlockHeader’:
asmkernel.c:99: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMBlockMetaData’:
asmkernel.c:156: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:158: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘getASMFileHeader’:
asmkernel.c:234: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMExtentHeader’:
asmkernel.c:318: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMFileExtent’:
asmkernel.c:349: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMAliasHeader’:
asmkernel.c:396: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘getASMAliasRecord’:
asmkernel.c:444: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:453: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘initASMDisk’:
asmkernel.c:485: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c: In function ‘readFromDisk’:
asmkernel.c:544: error: incompatible types when assigning to type ‘fpos_t’ from type ‘ub8’
asmkernel.c: In function ‘closeDiskGroup’:
asmkernel.c:575: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘openDiskGroup’:
asmkernel.c:623: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:642: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘openDiskGroupDisk’:
asmkernel.c:689: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:691: warning: incompatible implicit declaration of built-in function ‘strlen’
asmkernel.c: In function ‘readDiskGroupBlock’:
asmkernel.c:781: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:789: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘setDiskGroupCache’:
asmkernel.c:809: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:810: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:816: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:817: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c: In function ‘listASMFileExtent’:
asmkernel.c:997: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1000: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1072: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘listASMFileEntry’:
asmkernel.c:1092: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1095: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1178: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘getASMFileEntry’:
asmkernel.c:1204: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1207: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1231: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:1272: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c:1286: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘listASMAliasEntry’:
asmkernel.c:1330: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1333: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1435: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘copyASMFileOut’:
asmkernel.c:1480: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1484: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1520: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:1558: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:1585: warning: incompatible implicit declaration of built-in function ‘memset’
asmkernel.c:1603: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘readFileExtentCache’:
asmkernel.c:1626: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1630: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1730: warning: incompatible implicit declaration of built-in function ‘free’
asmkernel.c: In function ‘readASMFileData’:
asmkernel.c:1836: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1843: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘readASMOracleBlock’:
asmkernel.c:1905: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c:1912: warning: incompatible implicit declaration of built-in function ‘memcpy’
asmkernel.c: In function ‘dumpASMFileBlock’:
asmkernel.c:1953: warning: incompatible implicit declaration of built-in function ‘malloc’
asmkernel.c:1957: warning: incompatible implicit declaration of built-in function ‘free’
The text was updated successfully, but these errors were encountered: