Hello All, Runing into a problem with the Makefile compiler options when I'm trying to get Audio::Scan - Audio-Scan-0.23 PerlModule compiled on OpenSolaris using SunSudio12 update1.
Perhaps Andy could please help with the below; r...@fugly:/root/.cpan/sources/authors/id/A/AG/AGRUNDMA/Audio-Scan-0.23# perl ./Makefile.PL Audio::Scan will be built with: MP3 support: yes MP4 support: yes FLAC support: yes (/usr/include) OGG support: yes ASF support: yes MPC support: yes MAC support: yes WAV support: yes AIFF support: yes Checking if your kit is complete... Looks good Writing Makefile for Audio::Scan ... ... . . . pointer to const unsigned char "=" pointer to char "frame.c", line 398: warning: argument #1 is incompatible with prototype: prototype: pointer to const char : "frame.c", line 210 argument : pointer to const unsigned char "frame.c", line 449: warning: argument #1 is incompatible with prototype: prototype: pointer to const char : "frame.c", line 210 argument : pointer to const unsigned char "frame.c", line 471: warning: argument #1 is incompatible with prototype: prototype: pointer to const char : "frame.c", line 186 argument : pointer to const unsigned char "frame.c", line 477: warning: argument #1 is incompatible with prototype: prototype: pointer to const char : "frame.c", line 70 argument : pointer to const unsigned char cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c frame.c -o frame.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c -o crc.lo crc.c cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c crc.c -KPIC -DPIC -o .libs/crc.o cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c crc.c -o crc.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c -o util.lo util.c cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c util.c -KPIC -DPIC -o .libs/util.o cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c util.c -o util.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c -o tag.lo tag.c cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c tag.c -KPIC -DPIC -o .libs/tag.o "tag.c", line 362: warning: argument #1 is incompatible with prototype: prototype: pointer to const unsigned char : "latin1.h", line 36 argument : pointer to char cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c tag.c -o tag.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c -o file.lo file.c cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c file.c -KPIC -DPIC -o .libs/file.o cc -DHAVE_CONFIG_H -I. -I. -I. -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -c file.c -o file.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link cc -xO3 -xspace -xildoff -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -KPIC -o libid3tag.la -rpath /usr/local/lib -version-info 3:0:3 version.lo ucs4.lo latin1.lo utf16.lo utf8.lo parse.lo render.lo field.lo frametype.lo compat.lo genre.lo frame.lo crc.lo util.lo tag.lo file.lo -lz /usr/bin/ld -G -h libid3tag.so.0 -o .libs/libid3tag.so.0.3.0 .libs/version.o .libs/ucs4.o .libs/latin1.o .libs/utf16.o .libs/utf8.o .libs/parse.o .libs/render.o .libs/field.o .libs/frametype.o .libs/compat.o .libs/genre.o .libs/frame.o .libs/crc.o .libs/util.o .libs/tag.o .libs/file.o -lz -lc (cd .libs && rm -f libid3tag.so.0 && ln -s libid3tag.so.0.3.0 libid3tag.so.0) (cd .libs && rm -f libid3tag.so && ln -s libid3tag.so.0.3.0 libid3tag.so) ar cru .libs/libid3tag.a version.o ucs4.o latin1.o utf16.o utf8.o parse.o render.o field.o frametype.o compat.o genre.o frame.o crc.o util.o tag.o file.o ranlib .libs/libid3tag.a creating libid3tag.la (cd .libs && rm -f libid3tag.la && ln -s ../libid3tag.la libid3tag.la) /usr/bin/perl /usr/perl5/5.8.4/lib/ExtUtils/xsubpp -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap Scan.xs > Scan.xsc && mv Scan.xsc Scan.c Please specify prototyping behavior for Scan.xs (see perlxs manual) cc -c -I. -I.. -Isrc -Iinclude -I/usr/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -xO3 -xspace -xildoff -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -KPIC "-I/usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE" -Wall -Wno-unused-value -DHAVE_FLAC Scan.c cc: -W option with unknown program all *** Error code 1 make: Fatal error: Command failed for target `Scan.o' r...@fugly:/root/.cpan/sources/authors/id/A/AG/AGRUNDMA/Audio-Scan-0.23# === Bug id http://bugs.slimdevices.com/show_bug.cgi?id=12668 raised. Thanks, Bret -- bret ------------------------------------------------------------------------ bret's Profile: http://forums.slimdevices.com/member.php?userid=12828 View this thread: http://forums.slimdevices.com/showthread.php?t=65238 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
