Skip to content

Porting ALAC/ValidateMP4 #25

Description

@vmlemon

To help firm up the compatibility of JUEL, for multimedia applications, it may be interesting to port Apple's ALAC, and ValidateMP4 projects to Orion.

This enhancement is just to track the expansion of our UNIX/POSIX API surface, and doesn't necessarily block the progress of #7.

So far, these projects don't fully-build, since we still lack some functionality in liblinux, but we now have atoi(), and some new headers (e.g. cstring, and xlocale/*), which should improve compatibility, in other areas:

===> Linking ./syslaunch
ld -e_start -N -L../../lib -L/usr/lib/gcc/x86_64-linux-gnu/8 -nostdlib  -melf_x86_64  -Ttext=01000000 crt0-amd64.o syslaunch.o ValidateMP4/src/ValidateAtomList.o ValidateMP4/src/ValidateMP4.o ValidateMP4/src/ValidateHints.o ValidateMP4/src/ValidateBits.o ValidateMP4/src/ValidateAtoms.o ValidateMP4/src/ValidateFileIO.o ValidateMP4/src/ValidateBitStreams.o    -ll4 -lio  -llinux  -lgcc -o syslaunch
ld: ValidateMP4/src/ValidateMP4.o: in function `main':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:93: multiple definition of `main'; syslaunch.o:/home/tyson/Orion/user/apps/system/syslaunch.cc:95: first defined here
ld: ValidateMP4/src/ValidateHints.o: in function `Chars_To_Num':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1997: undefined reference to `sscanf'
ld: ValidateMP4/src/ValidateHints.o: in function `compare_nocase':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2107: undefined reference to `tolower'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2107: undefined reference to `tolower'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_Hint_Track':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:306: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:389: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:368: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateHints.o: in function `get_track_sample':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2236: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_Data_Entry':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:717: undefined reference to `free'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_Hint_Track':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:380: undefined reference to `free'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_Data_Entry':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:717: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:717: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:717: undefined reference to `free'
ld: ValidateMP4/src/ValidateHints.o:/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:717: more undefined references to `free' follow
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_SDP_Attribute_Line':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1365: undefined reference to `strchr'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_rtpmap_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1656: undefined reference to `strchr'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1674: undefined reference to `strchr'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_fmtp_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1409: undefined reference to `strchr'
ld: ValidateMP4/src/ValidateHints.o: in function `get_next_fmtp_param':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2144: undefined reference to `strchr'
ld: ValidateMP4/src/ValidateHints.o:/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2149: more undefined references to `strchr' follow
ld: ValidateMP4/src/ValidateHints.o: in function `get_next_fmtp_param':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2158: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2164: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_fmtp_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1539: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1543: undefined reference to `free'
ld: ValidateMP4/src/ValidateHints.o: in function `get_next_fmtp_param':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2158: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_isma_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1754: undefined reference to `sscanf'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_fmtp_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1452: undefined reference to `strcpy'
ld: ValidateMP4/src/ValidateHints.o: in function `get_next_fmtp_param':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2177: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2151: undefined reference to `strlen'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2146: undefined reference to `strlen'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2168: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_iod_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1712: undefined reference to `strlen'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1734: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_rtpmap_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1676: undefined reference to `strlen'
ld: ValidateMP4/src/ValidateHints.o: in function `Chars_To_hexNum':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:2029: undefined reference to `sscanf'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_fmtp_attribute':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1500: undefined reference to `strlen'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1506: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1516: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1498: undefined reference to `strchr'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1631: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1635: undefined reference to `free'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_Track_SDP':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1227: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_SDP_Media_Line':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1294: undefined reference to `strchr'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1303: undefined reference to `strchr'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1323: undefined reference to `strchr'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1335: undefined reference to `strlen'
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_hnti_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1146: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1169: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1190: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1193: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1190: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1190: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1190: undefined reference to `free'
ld: ValidateMP4/src/ValidateHints.o:/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1190: more undefined references to `free' follow
ld: ValidateMP4/src/ValidateHints.o: in function `Validate_Movie_SDP':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateHints.c:1052: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateMP4.o: in function `keymatch':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:57: undefined reference to `isupper'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:58: undefined reference to `tolower'
ld: ValidateMP4/src/ValidateMP4.o: in function `atomprintnotab':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:387: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:387: undefined reference to `vfprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `atomprint':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:401: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:401: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:403: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:403: undefined reference to `vfprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `atomprintdetailed':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:445: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:445: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:447: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:447: undefined reference to `vfprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `sampleprint':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:461: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:461: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:463: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:463: undefined reference to `vfprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `sampleprintnotab':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:475: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:475: undefined reference to `vfprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `sampleprinthexandasciidata':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:528: undefined reference to `isprint'
ld: ValidateMP4/src/ValidateMP4.o: in function `warnprint':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:574: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:574: undefined reference to `vfprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `errprint':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:585: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:585: undefined reference to `fprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:586: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:586: undefined reference to `vfprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `my_stricmp':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:593: undefined reference to `tolower'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:593: undefined reference to `tolower'
ld: ValidateMP4/src/ValidateMP4.o: in function `int64toxstr':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:635: undefined reference to `sprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:637: undefined reference to `sprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `int64toxstr_r':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:649: undefined reference to `sprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:651: undefined reference to `sprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `int64todstr':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:661: undefined reference to `sprintf'
ld: ValidateMP4/src/ValidateMP4.o:/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:668: more undefined references to `sprintf' follow
ld: ValidateMP4/src/ValidateMP4.o: in function `addEscapedChar':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:821: undefined reference to `strcat'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:821: undefined reference to `strcat'
ld: ValidateMP4/src/ValidateMP4.o: in function `addAtomToPath':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:826: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:833: undefined reference to `strlen'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:828: undefined reference to `strlen'
ld: ValidateMP4/src/ValidateMP4.o: in function `ValidateElementaryVideoStream':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:887: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:870: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:870: undefined reference to `fwrite'
ld: ValidateMP4/src/ValidateMP4.o: in function `addAtomToPath':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:834: undefined reference to `sprintf'
ld: ValidateMP4/src/ValidateMP4.o: in function `restoreAtomPath':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:839: undefined reference to `strcpy'
ld: ValidateMP4/src/ValidateMP4.o: in function `main':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:144: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:152: undefined reference to `strrchr'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:265: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:265: undefined reference to `fprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:269: undefined reference to `fseek'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:271: undefined reference to `ftell'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:289: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:289: undefined reference to `fprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:324: undefined reference to `fclose'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:170: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:172: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:176: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:254: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:254: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:297: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:297: undefined reference to `fprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:299: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:299: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:300: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:300: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:301: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:301: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:302: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:302: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:303: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:303: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:304: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:304: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:305: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:305: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:306: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:306: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:307: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:307: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:308: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:308: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:309: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:309: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:310: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:310: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:311: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:311: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:312: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:312: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:313: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:313: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:314: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:314: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:315: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:315: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:317: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:317: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:174: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:140: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:140: undefined reference to `fprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:178: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:220: undefined reference to `strcpy'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:221: undefined reference to `strtok'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:239: undefined reference to `strtok'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:209: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:209: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:199: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:199: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:170: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:170: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:170: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:170: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:172: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:172: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:172: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:172: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:174: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:174: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:174: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:174: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:178: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:178: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:236: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:236: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:176: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:176: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:176: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:176: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:183: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:183: undefined reference to `fprintf'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:178: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:178: undefined reference to `fwrite'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:261: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateMP4.c:261: undefined reference to `fprintf'
ld: ValidateMP4/src/ValidateAtomList.o: in function `Validate_rtp_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1483: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1496: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtomList.o: in function `FindAtomOffsets':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:54: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:92: undefined reference to `realloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:100: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtomList.o: in function `ValidateAtomOfType':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:881: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:881: undefined reference to `fprintf'
ld: ValidateMP4/src/ValidateAtomList.o: in function `Validate_trak_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:580: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:586: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:611: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:617: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:672: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:678: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:642: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:648: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtomList.o: in function `Validate_moov_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1033: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1190: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1179: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1190: undefined reference to `calloc'
ld: ValidateMP4/src/ValidateAtomList.o: in function `dispose_mir':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1337: undefined reference to `free'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtomList.c:1337: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_iods_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:92: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_mdia_hdlr_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:499: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:499: undefined reference to `fprintf'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_hdlr_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:553: undefined reference to `__stdoutp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:553: undefined reference to `fprintf'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stts_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:958: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_ctts_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1043: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stsz_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1106: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stz2_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1166: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stsc_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1246: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o:/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1309: more undefined references to `malloc' follow
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stco_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1344: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_co64_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1371: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stss_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1428: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stsh_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1482: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stdp_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1546: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_sdtp_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1619: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o:/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1677: more undefined references to `malloc' follow
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_ESDAtom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2463: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_avcC_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2585: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2593: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_m4ds_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2669: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_stsd_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1927: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1928: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:1965: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_cprt_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2707: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2739: undefined reference to `calloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2752: undefined reference to `free'
ld: ValidateMP4/src/ValidateAtoms.o: in function `Validate_loci_Atom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateAtoms.c:2804: undefined reference to `calloc'
ld: ValidateMP4/src/ValidateFileIO.o: in function `GetFileData':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:38: undefined reference to `fseek'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:41: undefined reference to `fread'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:33: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:33: undefined reference to `fwrite'
ld: ValidateMP4/src/ValidateFileIO.o: in function `GetFileCString':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:112: undefined reference to `malloc'
ld: ValidateMP4/src/ValidateFileIO.o: in function `GetFileBitStreamDataToEndOfAtom':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:187: undefined reference to `calloc'
ld: ValidateMP4/src/ValidateFileIO.o: in function `GetFileStartCode':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:315: undefined reference to `fseek'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:318: undefined reference to `fgetc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:320: undefined reference to `fgetc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:322: undefined reference to `fgetc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:324: undefined reference to `fgetc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:328: undefined reference to `fgetc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:310: undefined reference to `__stderrp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateFileIO.c:310: undefined reference to `fwrite'
ld: ValidateMP4/src/ValidateBitStreams.o: in function `CheckValuesInContext':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateBitStreams.c:2920: undefined reference to `sprintf'
ld: ValidateMP4/src/ValidateBitStreams.o: in function `Validate_ES_Descriptor':
/home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateBitStreams.c:496: undefined reference to `strncmp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateBitStreams.c:500: undefined reference to `strlen'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateBitStreams.c:504: undefined reference to `malloc'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateBitStreams.c:514: undefined reference to `strncmp'
ld: /home/tyson/Orion/user/apps/system/ValidateMP4/src/ValidateBitStreams.c:520: undefined reference to `free'
ld: ../../lib/liblinux.a(atoi.o): in function `atoi':
/home/tyson/Orion/user/lib/linux/atoi.c:49: undefined reference to `strtol'
ld: ../../lib/liblinux.a(atoi.o): in function `atoi_l':
/home/tyson/Orion/user/lib/linux/atoi.c:55: undefined reference to `strtol_l'
ld: ../../lib/liblinux.a(fopen.o): in function `fopen':
/home/tyson/Orion/user/lib/linux/fopen.c:62: undefined reference to `__sfp'
ld: /home/tyson/Orion/user/lib/linux/fopen.c:64: undefined reference to `_open'
ld: /home/tyson/Orion/user/lib/linux/fopen.c:77: undefined reference to `_close'
ld: /home/tyson/Orion/user/lib/linux/fopen.c:78: undefined reference to `__error'
ld: ../../lib/liblinux.a(flags.o): in function `__sflags':
/home/tyson/Orion/user/lib/linux/flags.c:113: undefined reference to `__error'
make: *** [../../Mk/l4.prog.mk:54: syslaunch] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions