* Package: media-sound/ogmtools-1.5-r2 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/9ddc8e7227f1332f99724ec52b7535d39eaf2bff @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking ogmtools-1.5.tar.bz2 to /var/tmp/portage/media-sound/ogmtools-1.5-r2/work >>> Source unpacked in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work >>> Preparing source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... * Applying ogmtools-1.5-comments.patch ... [ ok ] * Applying ogmtools-1.5-endian-fix.patch ... [ ok ] * Applying ogmtools-1.5-vorbis_verbosity.patch ... [ ok ] * Applying ogmtools-1.5-summary_length.patch ... [ ok ] * Applying ogmtools-1.5-fix-autotools.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: ogmtools-1.5/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... * econf: updating ogmtools-1.5/config.sub with /usr/share/gnuconfig/config.sub * econf: updating ogmtools-1.5/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/ogmtools-1.5-r2 --htmldir=/usr/share/doc/ogmtools-1.5-r2/html --libdir=/usr/lib64 --without-dvdread checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-clang accepts -g... yes checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-clang... none checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-clang++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-clang++... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-clang needs -traditional... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E checking for x86_64-pc-linux-gnu-ranlib... llvm-ranlib checking for x86_64-pc-linux-gnu-ar... llvm-ar checking the archiver (llvm-ar) interface... ar checking for Ogg... no *** Could not run Ogg test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means Ogg was incorrectly installed *** or that you have moved Ogg since it was installed. In the latter case, you *** may want to edit the ogg-config script: checking for Vorbis... no *** Could not run Vorbis test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means Vorbis was incorrectly installed *** or that you have moved Vorbis since it was installed. checking for fseeko... yes checking for ANSI C header files... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating avilib/Makefile config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5 ... make -j2 V=1 Making all in avilib make[1]: Entering directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5/avilib' x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o avilib.o avilib.c x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o avidump.o avidump.c avidump.c:336avilib.c:245:5: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] OUTD(ch->nEntriesInUse); ^~~~~~~~~~~~~~~~~~~~~~~ avilib.c:213:26: note: expanded from macro 'OUTD' #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^~~~~~~ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c::247:5: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] OUTD(ch->qwBaseOffset&0xffffffff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c:213:26: note: expanded from macro 'OUTD' #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^~~~~~~ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c:248:5: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] OUTD((ch->qwBaseOffset>>32)&0xffffffff); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c:213:26: note: expanded from macro 'OUTD' #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^~~~~~~ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c:249:5: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] OUTD(ch->dwReserved3); ^~~~~~~~~~~~~~~~~~~~~ avilib.c:213:26: note: expanded from macro 'OUTD' #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^~~~~~~ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c51:252:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] OUTD(ch->aIndex[k].dwOffset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c:213:26: note: expanded from macro 'OUTD' #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^~~~~~~ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c:253:2: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] OUTD(ch->aIndex[k].dwSize); ^~~~~~~~~~~~~~~~~~~~~~~~~~ avilib.c:213:26: note: expanded from macro 'OUTD' #define OUTD(n) long2str(ix00+bl,n); bl+=4 ^~~~~~~ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c:256:25: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] avi_add_chunk (AVI, ch->fcc, ix00, max); ^~~~~~~ avilib.c:181:53: note: passing argument to parameter 'tag' here static int avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *... ^ avilib.c:256:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] avi_add_chunk (AVI, ch->fcc, ix00, max); ^~~~ avilib.c:181:73: note: passing argument to parameter 'data' here ...avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int l... ^ : warning: format specifies type 'unsigned long long' but the argument has type 'off_t' (aka 'long') [-Wformat] printf("\t%-12s = 0x%016llx\n",names[i].name,val64); ~~~~~~~ ^~~~~ %016lx avilib.c:372:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] int audio = (strchr (tag, 'w')?1:0); ^~~ /usr/include/string.h:226:34: note: passing argument to parameter '__s' here extern char *strchr (const char *__s, int __c) ^ avilib.c:382:36: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_init_super_index(AVI, "ix00", &AVI->video_superindex... ^~~~~~ avilib.c:268:60: note: passing argument to parameter 'idxtag' here static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisu... ^ avilib.c:386:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_super... ^~~~~~ avilib.c:312:57: note: passing argument to parameter 'idxtag' here static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigne... ^ avilib.c:386:42: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_super... ^~~~~~ avilib.c:312:80: note: passing argument to parameter 'strtag' here ...*AVI, unsigned char *idxtag, unsigned char *strtag, ^ avilib.c:400:36: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_init_super_index(AVI, fcc, &AVI->track[AVI->aptr].au... ^~~ avilib.c:268:60: note: passing argument to parameter 'idxtag' here static int avi_init_super_index(avi_t *AVI, unsigned char *idxtag, avisu... ^ avilib.c:406:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_add_std_index (AVI, fcc, tag, AVI->track[AVI->aptr].... ^~~ avilib.c:312:57: note: passing argument to parameter 'idxtag' here static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigne... ^ avilib.c:449:35: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); ^~~~~~~~ avilib.c:449:45: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] cur_std_idx,NR_IXNN_CHUNKS, AVI->pos, towrite); ^~~~~~~ avilib.c:453:30: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superinde... ^~~~~~ avilib.c:312:57: note: passing argument to parameter 'idxtag' here static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigne... ^ avilib.c:453:38: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_add_std_index (AVI, "ix00", "00db", AVI->video_superinde... ^~~~~~ avilib.c:312:80: note: passing argument to parameter 'strtag' here ...*AVI, unsigned char *idxtag, unsigned char *strtag, ^ avilib.c:466:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audi... ^~~ avilib.c:312:57: note: passing argument to parameter 'idxtag' here static int avi_add_std_index(avi_t *AVI, unsigned char *idxtag, unsigne... ^ avilib.c:466:39: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (avi_add_std_index (AVI, fcc, aud, AVI->track[audtr].audi... ^~~ avilib.c:312:80: note: passing argument to parameter 'strtag' here ...*AVI, unsigned char *idxtag, unsigned char *strtag, ^ avilib.c:503:50: warning: passing 'char [17]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...avi_add_chunk(AVI, (unsigned char *)"RIFF", "AVIXLIST\0\0\0\0movi", 16); ^~~~~~~~~~~~~~~~~~~~~~ avilib.c:181:73: note: passing argument to parameter 'data' here ...avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int l... ^ avidump.c:595:42: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); ~~~~~~~~~~~~~~~ ^ avidump.c:209:12: note: array 'names_strf_auds' declared here struct VAL names_strf_auds[] = { ^ avidump.c:595:42: note: place parentheses around the 'sizeof(char *)' expression to silence this warning dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); ^ avidump.c:604:38: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); ~~~~~~~~~~~~~~~ ^ avidump.c:209:12: note: array 'names_strf_auds' declared here struct VAL names_strf_auds[] = { ^ avidump.c:604:38: note: place parentheses around the 'sizeof(char *)' expression to silence this warning dump_vals(fd,sizeof(names_strf_auds)/sizeof(char*),names_strf_auds); ^ avidump.c:608:43: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] long chunks=*chunksize-sizeof(names_indx)/sizeof(char*); ~~~~~~~~~~ ^ avidump.c:237:12: note: array 'names_indx' declared here struct VAL names_indx[] = { ^ avidump.c:608:43: note: place parentheses around the 'sizeof(char *)' expression to silence this warning long chunks=*chunksize-sizeof(names_indx)/sizeof(char*); ^ avidump.c:613:33: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); ~~~~~~~~~~ ^ avidump.c:237:12: note: array 'names_indx' declared here struct VAL names_indx[] = { ^ avidump.c:613:33: note: place parentheses around the 'sizeof(char *)' expression to silence this warning dump_vals(fd,sizeof(names_indx)/sizeof(char*),names_indx); ^ avidump.c:623:57: warning: format specifies type 'unsigned long long' but the argument has type 'off_t' (aka 'long') [-Wformat] printf("\t\t [%6ld] 0x%016llx 0x%08lx %8d\n", u++, offset, size, ~~~~~~~ ^~~~~~ %016lx avidump.c:633:45: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] long chunks=*chunksize-sizeof(names_stdidx)/sizeof(char*); ~~~~~~~~~~~~ ^ avidump.c:248:12: note: array 'names_stdidx' declared here struct VAL names_stdidx[] = { ^ avidump.c:633:45: note: place parentheses around the 'sizeof(char *)' expression to silence this warning long chunks=*chunksize-sizeof(names_stdidx)/sizeof(char*); ^ avidump.c:637:35: warning: expression does not compute the number of elements in this array; element type is 'struct VAL', not 'char *' [-Wsizeof-array-div] dump_vals(fd,sizeof(names_stdidx)/sizeof(char*),names_stdidx); ~~~~~~~~~~~~ ^ avidump.c:248:12: note: array 'names_stdidx' declared here struct VAL names_stdidx[] = { ^ avidump.c:637:35: note: place parentheses around the 'sizeof(char *)' expression to silence this warning dump_vals(fd,sizeof(names_stdidx)/sizeof(char*),names_stdidx); ^ avilib.c:1083:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] long2str(buf+len, k+1); len += 4; ^~~~~~~ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c:1600:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] info_len = avi_parse_comments (AVI->comment_fd, AVI_header+nhb, HEADE... ^~~~~~~~~~~~~~ avilib.c:1011:46: note: passing argument to parameter 'buf' here static int avi_parse_comments (int fd, char *buf, int space_left) ^ avilib.c:1669:15: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] long2str(f, len); ^ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c:1675:15: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] long2str(f, len); ^ avilib.c:115:37: note: passing argument to parameter 'dst' here static void long2str(unsigned char *dst, int32_t n) ^ avilib.c:1733:50: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] n = avi_add_chunk(AVI,(unsigned char *)astr,data,length); ^~~~ avilib.c:181:73: note: passing argument to parameter 'data' here ...avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int l... ^ avilib.c:1735:52: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] n = avi_add_chunk(AVI,(unsigned char *)"00db",data,length); ^~~~ avilib.c:181:73: note: passing argument to parameter 'data' here ...avi_add_chunk(avi_t *AVI, unsigned char *tag, unsigned char *data, int l... ^ avilib.c:2359:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if (strncasecmp (hdrl_data+i,"iavs",4) ==0 && ! auds_strh_seen) { ^~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:2367:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if(strncasecmp(hdrl_data+i,"dmlh",4) == 0) { ^~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:2444:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if(strncasecmp(hdrl_data+i,"indx",4) == 0) { ^~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:2451:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] a = hdrl_data+i; ^ ~~~~~~~~~~~ avilib.c:2455:48: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] AVI->video_superindex->dwSize = str2ulong(a); a += 4; ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2456:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] AVI->video_superindex->wLongsPerEntry = str2ushort(a); a += 2; ^ avilib.c:145:43: note: passing argument to parameter 'str' here static uint32_t str2ushort(unsigned char *str) ^ avilib.c:2459:55: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] AVI->video_superindex->nEntriesInUse = str2ulong(a); a += 4; ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2472:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->video_superindex->aIndex[j].qwOffset = str2ullong (a); a += 8; ^ avilib.c:134:43: note: passing argument to parameter 'str' here static uint64_t str2ullong(unsigned char *str) ^ avilib.c:2473:62: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->video_superindex->aIndex[j].dwSize = str2ulong (a); a += 4; ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2474:66: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->video_superindex->aIndex[j].dwDuration = str2ulong (a); a += 4; ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2504:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] a = hdrl_data+i; ^ ~~~~~~~~~~~ avilib.c:2508:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->track[AVI->aptr].audio_superindex->dwSize = str2ulong(a); ... ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2509:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->track[AVI->aptr].audio_superindex->wLongsPerEntry = str2ushort(a); ... ^ avilib.c:145:43: note: passing argument to parameter 'str' here static uint32_t str2ushort(unsigned char *str) ^ avilib.c:2512:72: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->track[AVI->aptr].audio_superindex->nEntriesInUse = str2ulong(a); ... ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2526:82: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...= str2ullong (a); a += 8; ^ avilib.c:134:43: note: passing argument to parameter 'str' here static uint64_t str2ullong(unsigned char *str) ^ avilib.c:2527:79: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...= str2ulong (a); a += 4; ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2528:83: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...= str2ulong (a); a += 4; ^ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2552:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if((strncasecmp(hdrl_data+i,"JUNK",4) == 0) || ^~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:2553:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (strncasecmp(hdrl_data+i,"strn",4) == 0) || ^~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:2554:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] (strncasecmp(hdrl_data+i,"vprp",4) == 0)){ ^~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:2724:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nrEntries = str2ulong(en + 12); ^~~~~~~ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2728:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] offset = str2ullong(en + 20); ^~~~~~~ avilib.c:134:43: note: passing argument to parameter 'str' here static uint64_t str2ullong(unsigned char *str) ^ avilib.c:2741:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] AVI->video_index[k].pos = offset + str2ulong(en); en += 4; ^~ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2742:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] AVI->video_index[k].len = str2ulong_len(en); ^~ avilib.c:151:47: note: passing argument to parameter 'str' here static uint32_t str2ulong_len (unsigned char *str) ^ avilib.c:2743:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] AVI->video_index[k].key = str2ulong_key(en); en += 4; ^~ avilib.c:158:47: note: passing argument to parameter 'str' here static uint32_t str2ulong_key (unsigned char *str) ^ avilib.c:2803:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] nrEntries = str2ulong(en + 12); ^~~~~~~ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2808:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] offset = str2ullong(en + 20); ^~~~~~~ avilib.c:134:43: note: passing argument to parameter 'str' here static uint64_t str2ullong(unsigned char *str) ^ avilib.c:2817:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->track[audtr].audio_index[k].pos = offset + str2ulong(en); en += 4; ^~ avilib.c:141:42: note: passing argument to parameter 'str' here static uint32_t str2ulong(unsigned char *str) ^ avilib.c:2818:62: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] ...AVI->track[audtr].audio_index[k].len = str2ulong_len(en); en += 4; ^~ avilib.c:151:47: note: passing argument to parameter 'str' here static uint32_t str2ulong_len (unsigned char *str) ^ avilib.c:3292:63: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] ...fprintf(stderr, "XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, to... ~~~~ ^~~ %ld avilib.c:3292:68: warning: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') [-Wformat] ..."XXX pos = %lld, ret = %lld, todo = %ld\n", pos, ret, todo); ~~~~ ^~~ %ld avilib.c:3527:21: warning: passing 'uint8_t [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if( strncasecmp(wave->riff.id , "RIFF",4) != 0 || ^~~~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:3528:14: warning: passing 'uint8_t [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncasecmp(wave->riff.wave_id, "WAVE",4) != 0 || ^~~~~~~~~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ avilib.c:3529:14: warning: passing 'uint8_t [4]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncasecmp(wave->format.id , "fmt ",4) != 0 ) ^~~~~~~~~~~~~~~ /usr/include/strings.h:120:37: note: passing argument to parameter '__s1' here extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) ^ 8 warnings generated. x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o avimisc.o avimisc.c x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I.. -I. -I.. -I. -I./ -DLINUX -Wall -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o xio.o xio.c 61 warnings generated. rm -f libavi.a llvm-ar cru libavi.a avilib.o avidump.o avimisc.o xio.o llvm-ranlib libavi.a make[1]: Leaving directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5/avilib' make[1]: Entering directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o ogmmerge.o ogmmerge.cpp x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_avi.o r_avi.cpp r_avi.cpp:67:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("avi_reader: fname == NULL !?"); ^ r_avi.cpp:70:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("avi_reader: Could not open source file."); ^ r_avi.cpp:72:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("avi_reader: Could not seek to end of file."); ^ r_avi.cpp:75:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("avi_reader: Could not seek to beginning of file."); ^ r_avi.cpp:77:19: warning: ISO C++11 does not allow conversion from string literalogmmerge.cpp:85:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {{"---", TYPEUNKNOWN, ""}, ^ ogmmerge.cpp:85:25: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {{"---", TYPEUNKNOWN, ""}, ^ ogmmerge.cpp:86:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"demultiplexers:", -1, ""}, ^ ogmmerge.cpp:86:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"demultiplexers:", -1, ""}, ^ ogmmerge.cpp:87:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, ^ ogmmerge.cpp:87:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ogg", TYPEOGM, "general OGG media stream, Vorbis audio embedded in OGG"}, ^ ogmmerge.cpp:88:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, ^ ogmmerge.cpp:88:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"avi", TYPEAVI, "AVI (Audio/Video Interleaved)"}, ^ ogmmerge.cpp:89:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, ^ ogmmerge.cpp:89:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"wav", TYPEWAV, "WAVE (uncompressed PCM)"}, ^ ogmmerge.cpp:90:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"srt", TYPEWAV, "SRT text subtitles"}, ^ ogmmerge.cpp:90:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"srt", TYPEWAV, "SRT text subtitles"}, ^ ogmmerge.cpp:91:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, ^ ogmmerge.cpp:91:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", TYPEMICRODVD, "MicroDVD text subtitles"}, ^ ogmmerge.cpp:95:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, ^ ogmmerge.cpp:95:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"mp3", TYPEMP3, "MPEG1 layer III audio (CBR and VBR/ABR)"}, ^ to 'char *' [-Wwritable-strings] ogmmerge.cpp:96:5: warning: throw error_c("avi_reader: Source is not a valid AVI file."); ^ ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ac3", TYPEAC3, "A/52 (aka AC3)"}, ^ ogmmerge.cpp:96:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"ac3", TYPEAC3, "A/52 (aka AC3)"}, ^ ogmmerge.cpp:97:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"output modules:", -1, ""}, ^ ogmmerge.cpp:97:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"output modules:", -1, ""}, ^ ogmmerge.cpp:98:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "Vorbis audio"}, ^ ogmmerge.cpp:98:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "Vorbis audio"}, ^ ogmmerge.cpp:99:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "Video (not MPEG1/2)"}, ^ ogmmerge.cpp:99:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "Video (not MPEG1/2)"}, ^ ogmmerge.cpp:100:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "uncompressed PCM audio"}, ^ ogmmerge.cpp:100:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "uncompressed PCM audio"}, ^ ogmmerge.cpp:101:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "text subtitles"}, ^ ogmmerge.cpp:101:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "text subtitles"}, ^ ogmmerge.cpp:105:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "MP3 audio"}, ^ ogmmerge.cpp:105:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "MP3 audio"}, ^ ogmmerge.cpp:106:5: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "AC3 audio"}, ^ ogmmerge.cpp:106:21: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {" ", -1, "AC3 audio"}, ^ ogmmerge.cpp:973:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((result = write_ogg_page(mpage, "header ", file)) != 0) ^ ogmmerge.cpp:1009:47: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((result = write_ogg_page(mpage, "comment ", file)) != 0) ^ ogmmerge.cpp:1071:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] if ((result = write_ogg_page(mpage, "", winner)) != 0) ^ In file included from r_avi.cpp:29: ./r_avi.h:63:34: warning: private field 'rederive_keyframes' is not used [-Wunused-private-field] int is_divx, rederive_keyframes; ^ 6 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_ogm.o r_ogm.cpp r_ogm.cpp:67:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ogm_reader: Could not open source file."); ^ r_ogm.cpp:69:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ogm_reader: Could not seek to end of file."); ^ r_ogm.cpp:72:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ogm_reader: Could not seek to beginning of file."); ^ r_ogm.cpp:74:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ogm_reader: Source is not a valid OGG media file."); ^ 35 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_ac3.o r_ac3.cpp r_ac3.cpp:64:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ac3_reader: Could not open source file."); ^ r_ac3.cpp:66:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ac3_reader: Could not seek to end of file."); ^ r_ac3.cpp:69:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ac3_reader: Could not seek to beginning of file."); ^ r_ac3.cpp:74:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ac3_reader: Could not read 4096 bytes."); ^ r_ac3.cpp:76:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ac3_reader: Could not seek to beginning of file."); ^ r_ac3.cpp:79:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("ac3_reader: No valid AC3 packet found in the first " \ ^ r_ac3.cpp:144:11: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] bytes_processed, size, ^~~~~~~~~~~~~~~ r_ac3.cpp:144:28: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] bytes_processed, size, ^~~~ 8 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_mp3.o r_mp3.cpp 4 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_wav.o r_wav.cpp r_mp3.cpp:70:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("mp3_reader: Could not open source file."); ^ r_mp3.cpp:72:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("mp3_reader: Could not seek to end of file."); ^ r_mp3.cpp:75:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("mp3_reader: Could not seek to beginning of file."); ^ r_mp3.cpp:80:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("mp3_reader: Could not read 4096 bytes."); ^ r_mp3.cpp:82:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("mp3_reader: Could not seek to beginning of file."); ^ r_mp3.cpp:85:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("mp3_reader: No valid MP3 packet found in the first " \ ^ r_mp3.cpp:153:11: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] bytes_processed, size, ^~~~~~~~~~~~~~~ r_mp3.cpp:153:28: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat] bytes_processed, size, ^~~~ r_wav.cpp:59:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("wav_reader: Could not open source file."); ^ r_wav.cpp:61:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("wav_reader: Could not seek to end of file."); ^ r_wav.cpp:64:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("wav_reader: Could not seek to beginning of file."); ^ r_wav.cpp:66:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("wav_reader: Source is not a valid WAVE file."); ^ r_wav.cpp:68:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("wav_reader: could not read WAVE header."); ^ 8 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_microdvd.o r_microdvd.cpp 5 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_srt.o r_srt.cpp r_microdvd.cpp:61:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("microdvd_reader: Could not open source file."); ^ r_microdvd.cpp:63:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("microdvd_reader: Source is not a valid MicroDVD file."); ^ r_srt.cpp:67:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("srt_reader: Could not open source file."); ^ r_srt.cpp:69:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] throw error_c("srt_reader: Source is not a valid SRT file."); ^ 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o r_vobsub.o r_vobsub.cpp x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_video.o p_video.cpp 2 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_index.o p_index.cpp x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_ac3.o p_ac3.cpp In file included from p_ac3.cpp:27: ./p_ac3.h:27:25: warning: private field 'bps' is not used [-Wunused-private-field] int bps, eos; ^ ./p_ac3.h:32:25: warning: private field 'tempbuf' is not used [-Wunused-private-field] char *tempbuf; ^ ./p_ac3.h:38:25: warning: private field 'disk_fileno' is not used [-Wunused-private-field] ogg_int64_t disk_fileno; ^ x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_mp3.o p_mp3.cpp 3 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_pcm.o p_pcm.cpp p_mp3.cpp:236:40: warning: format specifies type 'long long' but the argument has type 'unsigned long' [-Wformat] "packet number %lld)\n", packetno - 2); ~~~~ ^~~~~~~~~~~~ %lu In file included from p_mp3.cpp:27: ./p_mp3.h:27:25: warning: private field 'bps' is not used [-Wunused-private-field] int bps, eos; ^ ./p_mp3.h:32:25: warning: private field 'tempbuf' is not used [-Wunused-private-field] char *tempbuf; ^ ./p_mp3.h:38:25: warning: private field 'disk_fileno' is not used [-Wunused-private-field] ogg_int64_t disk_fileno; ^ 4 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_vorbis.o p_vorbis.cpp x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_textsubs.o p_textsubs.cpp x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o p_vobsub.o p_vobsub.cpp x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o ac3_common.o ac3_common.c x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o mp3_common.o mp3_common.c x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o subtitles.o subtitles.cpp x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o queue.o queue.cpp subtitles.cpp:80:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->end / (60 * 60 * 1000), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:81:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->end / (60 * 1000)) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:82:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->end / 1000) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:83:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->end % 1000, ^~~~~~~~~~~~~~~~~~~ subtitles.cpp:84:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->next->start / (60 * 60 * 1000), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:85:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->next->start / (60 * 1000)) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:86:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->next->start / 1000) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:87:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->next->start % 1000, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:111:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->start / (60 * 60 * 1000), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:112:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->start / (60 * 1000)) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:113:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->start / 1000) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:114:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->start % 1000, ^~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:115:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->end / (60 * 60 * 1000), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:116:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->end / (60 * 1000)) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:117:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] (current->end / 1000) % 60, ^~~~~~~~~~~~~~~~~~~~~~~~~~ subtitles.cpp:118:17: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current->end % 1000, ^~~~~~~~~~~~~~~~~~~ 16 warnings generated. x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o vorbis_header_utils.o vorbis_header_utils.c x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o generic.o generic.cpp x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o common.o common.c x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o ogmdemux.o ogmdemux.c x86_64-pc-linux-gnu-clang -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o ogminfo.o ogminfo.c ogminfo.c:122ogmdemux.c:355:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { ^~~~~~~~~~~~~~~ /usr/include/string.h:140:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ :11ogmdemux.c:385:15: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(basename) + 20); ^~~~~~~~~~~~~~~~~~~~~ :ogmdemux.c:413:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(&pack.packet[1],"Direct Show Samples embedded in " ^~~~~~~~~~~~~~~ /usr/include/string.h:140:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ warning: format specifies type 'long long' but the argument ogmdemux.c:461:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(basename) + 20); ^~~~~~~~~~~~~~~~~~~~~ has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&sth->time_unit), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:123:11: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&sth->samples_per_unit), get_uint32(&sth->default_len), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.c:510:21: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&sth.samples_per_unit)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmdemux.cogminfo.c:526:19:173:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (vorbis_unpack_comment(&vc, pack->packet, pack->bytes) != 0) ^~~~~~~~~~~~ ./vorbis_header_utils.h:11:53: note: passing argument to parameter 'buf' here int vorbis_unpack_comment(vorbis_comment *vc, char *buf, int len); ^ :ogminfo.c:194:50: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] __FILE__, stream->sno, pack->bytes, ogg_page_granulepos(page), ^~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:195:14: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] pack->packetno); ^~~~~~~~~~~~~~ warningogminfo.c:225:15: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] ogg_page_granulepos(page), pack->packetno); ^~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:225:42: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] ogg_page_granulepos(page), pack->packetno); ^~~~~~~~~~~~~~ : passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(stream->wh.riff.id, "RIFF", 4); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ ogmdemux.c:527:19: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(stream->wh.riff.wave_id, "WAVE", 4); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:40: ogminfo.c:note: passing argument to parameter '__dest' here 288:37:extern char *strncpy (char *__restrict __dest, ^ warning: format specifies type 'long long' but the argument has type 'long' ogmdemux.c:528:19: warning: passing[-Wformat] "% 12ld\n", __FILE__, pagebytesread - pageseek, pageseek, ^~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:299:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((pack.bytes >= 7) && ! strncmp(&pack.packet[1], "vorbis", 6)) { ^~~~~~~~~~~~~~~ /usr/include/string.h:140:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(stream->wh.format.id, "fmt ", 4); ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:40: ogminfo.c:note: passing argument to parameter '__dest' here 325:25: warningextern char *strncpy (char *__restrict __dest, ^ : passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] !strncmp(&pack.packet[1],"Direct Show Samples embedded in Ogg", ^~~~~~~~~~~~~~~ /usr/include/string.h:140:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ ogmdemux.c:542:19: warning: passing 'uint8_t [4]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(stream->wh.data.id, "data", 4); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ ogmdemux.c:548:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(basename) + 30); ^~~~~~~~~~~~~~~~~~~~~ ogminfo.cogmdemux.c:596:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] :387:17: strlen(basename) + 10); ^~~~~~~~~~~~~~~~~~~~~ warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&sth.samples_per_unit), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:470:55: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] __FILE__, stream->stype, stream->sno, pagebytesread - pageseek, ^~~~~~~~~~~~~~~~~~~~~~~~ ogminfo.c:513:31: warning: format specifies type 'unsigned long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] stream->serial, stream->size, ^~~~~~~~~~~~ ogminfo.c:516:15: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] stream->num_packets, now); ^~~~~~~~~~~~~~~~~~~ ogmdemux.c:713:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] xaudio = (char *)malloc(1); ^ ~~~~~~~~~~~~~~~~~ ogmdemux.c:714:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] xvideo = (char *)malloc(1); ^ ~~~~~~~~~~~~~~~~~ ogmdemux.c:715:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] xtext = (char *)malloc(1); ^ ~~~~~~~~~~~~~~~~~ ogmdemux.c:755:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = strlen(xaudio); ^~~~~~ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ogmdemux.c:774:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = strlen(xvideo); ^~~~~~ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ ogmdemux.c:793:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = strlen(xtext); ^~~~~ /usr/include/string.h:385:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 14 warnings generated. x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o ogmsplit.o ogmsplit.cpp ogmsplit.cpp:193:13: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~~~~~ ogmsplit.cpp:193:22: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~ ogmsplit.cpp:193:27: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current, num, current * 100 / num); ^~~~~~~~~~~~~~~~~~~ ogmsplit.cpp:196:13: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~~~~~ ogmsplit.cpp:196:22: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~ ogmsplit.cpp:196:27: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current, num, current * 100 / num); ^~~~~~~~~~~~~~~~~~~ ogmsplit.cpp:675:36: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] print_progress(0, file_size, "bytes"); ^ ogmsplit.cpp:677:46: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] print_progress(0, vstream->num_frames, "frame"); ^ ogmsplit.cpp:754:44: 17 warnings generated. warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] num_splitpoints - 1, stream->granulepos, ^~~~~~~~~~~~~~~~~~ ogmsplit.cpp:755:23: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] bwritten + get_queued_bytes(), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-clang++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ogmtools\" -DVERSION=\"1.5\" -DHAVE_FSEEKO=1 -DSTDC_HEADERS=1 -I. -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -c -o ogmcat.o ogmcat.cpp ogmsplit.cpp:795:23: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] bwritten, bwritten_all, ^~~~~~~~ ogmsplit.cpp:795:33: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] bwritten, bwritten_all, ^~~~~~~~~~~~ ogmsplit.cpp:847:69: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] print_progress(stream->cur_frame, stream->num_frames, "frame"); ^ ogmsplit.cpp:882:44: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] print_progress(bread, file_size, "bytes"); ^ ogmsplit.cpp:899:15: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] bwritten, bwritten_all, ^~~~~~~~ ogmsplit.cpp:899:25: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] bwritten, bwritten_all, ^~~~~~~~~~~~ ogmsplit.cpp:920:61: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] print_progress(vstream->cur_frame, vstream->num_frames, "frame"); ^ ogmsplit.cpp:924:42: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] print_progress(file_size, file_size, "bytes"); ^ ogmsplit.cpp:1141:16: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] fout_ext = "ogm"; ^ ogmsplit.cpp:1162:43: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] fprintf(stdout, "%lldbytes.\n", split_bytes); ~~~~ ^~~~~~~~~~~ %ld ogmcat.cpp:163:13: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~~~~~ ogmcat.cpp:163:22: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~ ogmcat.cpp:163:27: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current, num, current * 100 / num); ^~~~~~~~~~~~~~~~~~~ ogmcat.cpp:166:13: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~~~~~ ogmcat.cpp:166:22: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] current, num, current * 100 / num); ^~~ ogmcat.cpp:166:27: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] current, num, current * 100 / num); ^~~~~~~~~~~~~~~~~~~ ogmcat.cpp:638:21: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&str->sth.samples_per_unit), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:639:21: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&stream->sth.samples_per_unit)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:673:21: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&str->sth.time_unit), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:674:21: warning: format specifies type 'long long' but the argument has type 'u_int64_t' (aka 'unsigned long') [-Wformat] get_uint64(&stream->sth.time_unit)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:816:25: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] stream->packetno, (int)pack.packet[0]); ^~~~~~~~~~~~~~~~ ogmcat.cpp:871:19: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] stream->this_granulepos); ^~~~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:874:30: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] "%lld)", stream->granuleposadd, manual_sync_granule); ^~~~~~~~~~~~~~~~~~~~~ ogmcat.cpp:874:53: warning: format specifies type 'long long' but the argument has type 'ogg_int64_t' (aka 'long') [-Wformat] "%lld)", stream->granuleposadd, manual_sync_granule); ~~~~ ^~~~~~~~~~~~~~~~~~~ %ld 14 warnings generated. x86_64-pc-linux-gnu-clang++ -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o ogmmerge ogmmerge.o r_avi.o r_ogm.o r_ac3.o r_mp3.o r_wav.o r_microdvd.o r_srt.o r_vobsub.o p_video.o p_index.o p_ac3.o p_mp3.o p_pcm.o p_vorbis.o p_textsubs.o p_vobsub.o ac3_common.o mp3_common.o subtitles.o queue.o vorbis_header_utils.o generic.o common.o -Lavilib -lavi 20 warnings generated. x86_64-pc-linux-gnu-clang -Iavilib -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -Wall -Wno-sign-compare -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0 -o ogmdemux ogmdemux.o vorbis_header_utils.o common.o -Lavilib -lavi ld.lld: error: undefined symbol: vorbis_comment_clear >>> referenced by ogmmerge.cpp >>> ogmmerge.o:(main) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::produce_header_packets()) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::produce_header_packets()) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::~video_packetizer_c()) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::~video_packetizer_c()) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::set_chapter_info(vorbis_comment*)) >>> referenced by p_ac3.cpp >>> p_ac3.o:(ac3_packetizer_c::~ac3_packetizer_c()) >>> referenced by p_mp3.cpp >>> p_mp3.o:(mp3_packetizer_c::~mp3_packetizer_c()) >>> referenced by p_pcm.cpp >>> p_pcm.o:(pcm_packetizer_c::~pcm_packetizer_c()) >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::~vorbis_packetizer_c()) >>> referenced 8 more times ld.lld: error: undefined symbol: ogg_stream_flush >>> referenced by ogmdemux.c >>> ogmdemux.o:(flush_pages) >>> referenced by ogmdemux.c >>> ogmdemux.o:(flush_pages) ld.lld: error: undefined symbol: ogg_stream_pageout >>> referenced by ogmdemux.c >>> ogmdemux.o:(write_pages) >>> referenced by ogmdemux.c >>> ogmdemux.o:(write_pages) ld.lld: error: undefined symbol: ogg_stream_packetin >>> referenced by ogmdemux.c >>> ogmdemux.o:(handle_packet) >>> referenced by ogmdemux.c >>> ogmdemux.o:(handle_packet) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_sync_init >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_sync_pageseek >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_page_bos >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_page_serialno >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_stream_init >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_stream_pagein >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_stream_packetout >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_sync_buffer >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_sync_wrote >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: vorbis_info_init >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: vorbis_comment_init >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: vorbis_synthesis_headerin >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: ogg_stream_clear >>> referenced by ogmdemux.c >>> ogmdemux.o:(process_ogm) ld.lld: error: undefined symbol: vorbis_comment_clear >>> referenced by vorbis_header_utils.c >>> vorbis_header_utils.o:(vorbis_unpack_comment) ld.lld: error: undefined symbol: vorbis_comment_add >>> referenced by vorbis_header_utils.c >>> vorbis_header_utils.o:(vorbis_comment_cat) ld.lld: error: undefined symbol: ogg_sync_init >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::ogm_reader_c(char*, unsigned char*, unsigned char*, unsigned char*, audio_sync_t*, range_t*, char**, char*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read_headers()) ld.lld: error: undefined symbol: ogg_sync_clear >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::~ogm_reader_c()) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read_headers()) ld.lld: error: undefined symbol: ogg_stream_clear >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::~ogm_reader_c()) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::~video_packetizer_c()) >>> referenced by p_ac3.cpp >>> p_ac3.o:(ac3_packetizer_c::~ac3_packetizer_c()) >>> referenced 6 more times ld.lld: error: undefined symbol: ogg_sync_pageseek >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read_page(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read_page(ogg_page*)) ld.lld: error: undefined symbol: ogg_sync_buffer >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read_page(ogg_page*)) ld.lld: error: undefined symbol: ogg_sync_wrote >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read_page(ogg_page*)) ld.lld: error: undefined symbol: ogg_page_serialno >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::process_page(ogg_page*)) ld.lld: error: undefined symbol: ogg_stream_init >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::video_packetizer_c(char*, double, int, int, int, int, audio_sync_t*, range_t*, char**)) >>> referenced by p_ac3.cpp >>> p_ac3.o:(ac3_packetizer_c::ac3_packetizer_c(unsigned long, int, int, audio_sync_t*, range_t*, char**)) >>> referenced by p_mp3.cpp >>> p_mp3.o:(mp3_packetizer_c::mp3_packetizer_c(unsigned long, int, int, audio_sync_t*, range_t*, char**)) >>> referenced by p_pcm.cpp >>> p_pcm.o:(pcm_packetizer_c::pcm_packetizer_c(unsigned long, int, int, audio_sync_t*, range_t*, char**)) >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::vorbis_packetizer_c(audio_sync_t*, range_t*, char**)) >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::encode_silence(int)) >>> referenced by p_textsubs.cpp >>> p_textsubs.o:(textsubs_packetizer_c::textsubs_packetizer_c(audio_sync_t*, range_t*, char**)) ld.lld: error: undefined symbol: ogg_stream_pagein >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::process_page(ogg_page*)) ld.lld: error: undefined symbol: ogg_stream_packetout >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::process_page(ogg_page*)) ld.lld: error: undefined symbol: ogg_page_granulepos >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::handle_new_stream(ogg_page*)) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::process_page(ogg_page*)) >>> referenced by queue.cpp >>> queue.o:(q_c::add_ogg_page(ogg_page*, int, int)) ld.lld: error: undefined symbol: ogg_page_bos >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read()) >>> referenced by r_ogm.cpp >>> r_ogm.o:(ogm_reader_c::read_headers()) ld.lld: error: undefined symbol: ogg_stream_packetin >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::produce_header_packets()) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::produce_header_packets()) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::process(char*, int, int, int, int)) >>> referenced by p_video.cpp >>> p_video.o:(video_packetizer_c::process(char*, int, int, int, int)) >>> referenced by p_ac3.cpp >>> p_ac3.o:(ac3_packetizer_c::produce_header_packets()) >>> referenced by p_ac3.cpp >>> p_ac3.o:(ac3_packetizer_c::produce_header_packets()) >>> referenced by p_ac3.cpp >>> p_ac3.o:(ac3_packetizer_c::process(char*, int, int)) >>> referenced by p_ac3.cpp >>> p_ac3.o:(ac3_packetizer_c::produce_eos_packet()) >>> referenced by p_mp3.cpp >>> p_mp3.o:(mp3_packetizer_c::produce_header_packets()) >>> referenced by p_mp3.cpp >>> p_mp3.o:(mp3_packetizer_c::produce_header_packets()) >>> referenced 21 more times ld.lld: error: undefined symbol: vorbis_info_clear >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::~vorbis_packetizer_c()) >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::encode_silence(int)) ld.lld: error: undefined symbol: vorbis_info_init >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::encode_silence(int)) >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::produce_header_packets()) ld.lld: error: undefined symbol: vorbis_encode_setup_vbr >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::encode_silence(int)) ld.lld: error: undefined symbol: vorbis_encode_setup_init >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::encode_silence(int)) ld.lld: error: undefined symbol: vorbis_analysis_init >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::encode_silence(int)) ld.lld: error: undefined symbol: vorbis_block_init >>> referenced by p_vorbis.cpp >>> p_vorbis.o:(vorbis_packetizer_c::encode_silence(int)) ld.lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:579: ogmdemux] Error 1 clang-10: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** Waiting for unfinished jobs.... make[1]: *** [Makefile:587: ogmmerge] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' make: *** [Makefile:713: all-recursive] Error 1 * ERROR: media-sound/ogmtools-1.5-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/ogmtools-1.5-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/ogmtools-1.5-r2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/media-sound/ogmtools-1.5-r2:20200706-100410.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/ogmtools-1.5-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/ogmtools-1.5-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' * S: '/var/tmp/portage/media-sound/ogmtools-1.5-r2/work/ogmtools-1.5' emerge --info: Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1015-aws x86_64) ================================================================= System uname: Linux-5.4.0-1015-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 7895548 total, 1451788 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 06 Jul 2020 11:35:17 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.3-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo dev-util/cmake: 3.18.0_rc3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r2::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j2 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS