Solaris compilation failure: undefined symbol: CUTOFF
Brought to you by:
highlandsun
The build recipe and patch can be found here:
https://svn.code.sf.net/p/gar/code/csw/mgar/pkg/arc/trunk/
https://svn.code.sf.net/p/gar/code/csw/mgar/pkg/arc/trunk/files/0001-Adjust-Makefile-settings-for-Solaris.patch
The build attempt log:
gmake[1]: Entering directory `/home/maciej/src/opencsw/pkg/arc/trunk' [===== NOW BUILDING: arc-5.21p MODULATION isa-sparcv8: ISA=sparcv8 =====] [extract-modulated] complete for arc. [patch-modulated] complete for arc. [configure-modulated] complete for arc. (cd work/solaris9-sparc/build-isa-sparcv8/arc-5.21p; gmake HOME="/home/maciej" PATH="/home/maciej/src/opencsw/pkg/.buildsys/v2/gar/bin/sos12-wrappers:/home/maciej/src/opencsw/pkg/arc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/maciej/src/opencsw/pkg/arc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/bin:/home/maciej/src/opencsw/pkg/arc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/home/maciej/src/opencsw/pkg/arc/trunk/work/solaris9-sparc/install-isa-sparcv8/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/SUNWspro/bin:/home/maciej/src/opencsw/pkg/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin" LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw" libdir="/opt/csw/lib" infodir="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" CPPFLAGS="-I/opt/csw/include" CFLAGS="-xO3 -m32 -xarch=v8" CXXFLAGS="-xO3 -m32 -xarch=v8" LDFLAGS="-m32 -xarch=v8 -L/opt/csw/lib" FFLAGS="-xO3 -m32 -xarch=v8" FCFLAGS="-xO3 -m32 -xarch=v8" F77="/opt/SUNWspro/bin/f77" FC="/opt/SUNWspro/bin/f95" ASFLAGS="" OPTFLAGS="-xO3 -m32 -xarch=v8" CC="/opt/SUNWspro/bin/cc" CXX="/opt/SUNWspro/bin/CC" CC_HOME="/opt/SUNWspro" CC_VERSION="Sun C 5.9 SunOS_sparc Patch 124867-16 2010/08/11" CXX_VERSION="Sun C++ 5.9 SunOS_sparc Patch 124863-30 2012/07/11" GARCH="sparc" GAROSREL="5.9" GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib -B direct -z ignore" -j 10) gmake[2]: Entering directory `/home/maciej/src/opencsw/pkg/arc/trunk/work/solaris9-sparc/build-isa-sparcv8/arc-5.21p' /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arc.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arcadd.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arcext.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arclzw.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arcmatch.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arcpack.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arcrun.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arcsq.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arcsvc.c /opt/SUNWspro/bin/cc -xO3 -m32 -xarch=v8 -c arctst.c "arc.h", line 87: warning: typedef redeclared: u_int "arc.h", line 89: warning: typedef redeclared: u_char "arc.h", line 90: warning: typedef redeclared: u_short "arcmatch.c", line 69: warning: implicit function declaration: upper "arcadd.c", line 78: warning: implicit function declaration: malloc "arcadd.c", line 85: warning: implicit function declaration: rindex "arcadd.c", line 85: warning:aimprope", ointer/integer combination: op "=" line 86: "arcext.c", line 86 53: warning: implicit funct: i"proper pointer/integer combination: arg #1 arcadd.c", "ine 87: crun.c", warni88"aunde", ", line 222: unwarning symbol: CUTOFF waimpli: t function declaration: "indexiarcadd.cfunction declaration: "arcextli", li2: : warni:aimplicit ", ction declaration: realloc arcr"ar"arcline "arcmatch",warnline 105: ion declaration: syslin:waarcsvc.cne :"arlinimproper p: implicwarniOPEN_Rimproper pointer/integer combination: op ""arc.cper pointer/integer combination: op "=" ", line 237" warning: line cit function declaration: close1"7: warni",:limpr238r pointer/integer combination: op """ : warningliimp130it function declaration: unlink warning: implicit function declaration: free "arc.c", line xt.c", lin: wawarni: implicit function declarati "arcsvc.c", line 122: warning: initializer does not fit or is out of range: 49345 "arcsvc.c", gmake122: warning: Error 2initializer does not fit or is out of range: gmake[2"arcsvc.citing for unfinished jobs.... ", line 122: warning: initializer does not fit or is out of range: 49921""rc.c", line 377"arcext.122aline 12: warning: initializer does not fit or is out of rang : 49729 "aarcs"arcext.c", liwarning: initializer does not fit or ispointer to unsi50689 har"arcext.c", "arcsvc.c",aline"123cext38": warningassignment type mismatch: pointer to unsigned charp "=" tializer does not fit or is out of range: 51009 "=" pointer to char "arcsvc.c", line 123: warning: initializer does not fit or is out of range: 50625 "arcsvc.c", line 123: warning: initializer does not fit or is out of range: 50305 "arcsvc.c", line 124: warning: initializer does not fit or is out of range: 52225 "arcsvc.c", line 163liwar124: function expects to return value: extfile arning: initializer does not fit or is out of range: "arcext.c"arcsvc.c", line 124: warning: "arcext.c", "arcsvc.c", line : function expects to return value: extfile124: warning: initializer does not fit or is out of range: 52865 "arcsvc.c", line 125: warning: initializer does not fit or is out of range: 51905 "arcsvc.c", line 125: warning: initializer does not fit or is out of range: 52097 "arcsvc.c", line 125: warning: initializer does not fit or is out of range: 51457 "arcsvc.c", line 125: warning: initializer does not fit or is out of range: 51265 "arcsvc.c", line 126: warning: initializer does not fit or is out of range: 55297 "arcsvc.c", line 126: warnaco: initializer does not fit or is out of range: 55617 "arcsvc.c", line 126: warning"arcadd.c", line "arcsvc.cd symbol: OPEN_R , line 126: warning: initializer does not fit or is out of range: gmake [2]: "** [arcext.o] Error 2 line 127: "arcadd.c", line 279:awarning: implic127function declaration: toupper warning: initializer does not fit or is out of range: 57217 "cc: acomp127: warning: initializer does not fit or is out of range: 56577 "arcsvc.c", line 127: warning: initializer does not fit or is out of range: 56385 "arcsvc.c", line 128: warning: initializer does not fit or is out of range: 54465 "arcsvc.c", gmake128[2warning: *** [arc.o] Error "arcsvc.c", line 128: warning: initializer does not fit or is out of range: 55041 "arcsvc.c", line 128: warning: initializer does not fit or is out of range: 54849 "arcsvc.c", line 129: warning: initializer does not fit or is out of range: 53761 "arcsvc.c", line 129: warning: initializer does not fit or is out of range: 54081 "arcsvc.c", line 129: warning: initializer does not fit or is out of range: 53697 "arcsvc.c", line 129: warning: initializer does not fit or is out of range: 53377 "arcsvc.c", line 130: warning: initializer does not fit or is out of range: 61441 "arcsvc.c", line 130: warning: initializer does not fit or is out of range: 61761 carcsvc.c failed for arcadd.c 130: warning: initializer does not fit or is out of range: 62401 "arcsvc.c", line 130: warning: initializer does not fit or is out of range: 62081 "arcsvc.c", line 131: warning: gmake[2]: "** [arcadd.o] Error 2ine 131: warning: initializer does not fit or is out of range: 63361 "arcsvc.c", line 131: warning: initializer does not fit or is out of range: 62721 "arcsvc.c", line 131: warning: initializer does not fit or is out of range: 62529 "arcsvc.c", line 132: warning: initializer does not fit or is out of range: 64705 "arcsvc.c", line 132: warning: initializer does not fit or is out of range: 64897 "arcsvc.c", line 132: warning: initializer does not fit or is out of range: 65281 "arcsvc.c", line 132: warning: initializer does not fit or is out of range: 65089 "arcsvc.c", line 133: warning: initializer does not fit or is out of range: 64001 "arcsvc.c", line 133: warning: initializer does not fit or is out of range: 64321 "arcsvc.c", line 133: warning: initializer does not fit or is out of range: 63937 "arcsvc.c", line 133: warning: initializer does not fit or is out of range: 63617 "arcsvc.c", line 134: warning: initializer does not fit or is out of range: 59585 "arcsvc.c", line 134: warning: initializer does not fit or is out of range: 59777 "arcsvc.c", line 134: warning: initializer does not fit or is out of range: 60161 "arcsvc.c", line 134: warning: initializer does not fit or is out of range: 59969 "arcsvc.c", line 135: warning: initializer does not fit or is out of range: 60929 "arcsvc.c", line 135: warning: initializer does not fit or is out of range: 61249 "arcsvc.c", line 135: warning: initializer does not fit or is out of range: 60865 "arcsvc.c", line 135: warning: initializer does not fit or is out of range: 60545 "arcsvc.c", line 136: warning: initializer does not fit or is out of range: 58369 "arcsvc.c", line 136: warning: initializer does not fit or is out of range: 58689 "arcsvc.c", line 136: warning: initializer does not fit or is out of range: 59329 "arcsvc.c", line 136: warning: initializer does not fit or is out of range: 59009 "arcsvc.c", line 137: warning: initializer does not fit or is out of range: 58049 "arcsvc.c", line 137: warning: initializer does not fit or is out of range: 58241 "arcsvc.c", line 137: warning: initializer does not fit or is out of range: 57601 "arcsvc.c", line 137: warning: initializer does not fit or is out of range: 57409 "arcsvc.c", line 138: warning: initializer does not fit or is out of range: 40961 "arcsvc.c", line 138: warning: initializer does not fit or is out of range: 41281 "arcsvc.c", line 138: warning: initializer does not fit or is out of range: 41921 "arcsvc.c", line 138: warning: initializer does not fit or is out of range: 41601 "arcsvc.c", line 139: warning: initializer does not fit or is out of range: 42689 "arcsvc.c", line 139: warning: initializer does not fit or is out of range: 42881 "arcsvc.c", line 139: warning: initializer does not fit or is out of range: 42241 "arcsvc.c", line 139: warning: initializer does not fit or is out of range: 42049 "arcsvc.c", line 140: warning: initializer does not fit or is out of range: 44225 "arcsvc.c", line 140: warning: initializer does not fit or is out of range: 44417 "arcsvc.c", line 140: warning: initializer does not fit or is out of range: 44801 "arcsvc.c", line 140: warning: initializer does not fit or is out of range: 44609 "arcsvc.c", line 141: warning: initializer does not fit or is out of range: 43521 "arcsvc.c", line 141: warning: initializer does not fit or is out of range: 43841 "arcsvc.c", line 141: warning: initializer does not fit or is out of range: 43457 "arcsvc.c", line 141: warning: initializer does not fit or is out of range: 43137 "arcsvc.c", line 142: warning: initializer does not fit or is out of range: 47297 "arcsvc.c", line 142: warning: initializer does not fit or is out of range: 47489 "arcsvc.c", line 142: warning: initializer does not fit or is out of range: 47873 "arcsvc.c", line 142: warning: initializer does not fit or is out of range: 47681 "arcsvc.c", line 143: warning: initializer does not fit or is out of range: 48641 "arcsvc.c", line 143: warning: initializer does not fit or is out of range: 48961 "arcsvc.c", line 143: warning: initializer does not fit or is out of range: 48577 "arcsvc.c", line 143: warning: initializer does not fit or is out of range: 48257 "arcsvc.c", line 144: warning: initializer does not fit or is out of range: 46081 "arcsvc.c", line 144: warning: initializer does not fit or is out of range: 46401 "arcsvc.c", line 144: warning: initializer does not fit or is out of range: 47041 "arcsvc.c", line 144: warning: initializer does not fit or is out of range: 46721 "arcsvc.c", line 145: warning: initializer does not fit or is out of range: 45761 "arcsvc.c", line 145: warning: initializer does not fit or is out of range: 45953 "arcsvc.c", line 145: warning: initializer does not fit or is out of range: 45313 "arcsvc.c", line 145: warning: initializer does not fit or is out of range: 45121 "arcsvc.c", line 146: warning: initializer does not fit or is out of range: 37057 "arcsvc.c", line 146: warning: initializer does not fit or is out of range: 37249 "arcsvc.c", line 146: warning: initializer does not fit or is out of range: 37633 "arcsvc.c", line 146: warning: initializer does not fit or is out of range: 37441 "arcsvc.c", line 147: warning: initializer does not fit or is out of range: 38401 "arcsvc.c", line 147: warning: initializer does not fit or is out of range: 38721 "arcsvc.c", line 147: warning: initializer does not fit or is out of range: 38337 "arcsvc.c", line 147: warning: initializer does not fit or is out of range: 38017 "arcsvc.c", line 148: warning: initializer does not fit or is out of range: 39937 "arcsvc.c", line 148: warning: initializer does not fit or is out of range: 40257 "arcsvc.c", line 148: warning: initializer does not fit or is out of range: 40897 "arcsvc.c", line 148: warning: initializer does not fit or is out of range: 40577 "arcsvc.c", line 149: warning: initializer does not fit or is out of range: 39617 "arcsvc.c", line 149: warning: initializer does not fit or is out of range: 39809 "arcsvc.c", line 149: warning: initializer does not fit or is out of range: 39169 "arcsvc.c", line 149: warning: initializer does not fit or is out of range: 38977 "arcsvc.c", line 150: warning: initializer does not fit or is out of range: 34817 "arcsvc.c", line 150: warning: initializer does not fit or is out of range: 35137 "arcsvc.c", line 150: warning: initializer does not fit or is out of range: 35777 "arcsvc.c", line 150: warning: initializer does not fit or is out of range: 35457 "arcsvc.c", line 151: warning: initializer does not fit or is out of range: 36545 "arcsvc.c", line 151: warning: initializer does not fit or is out of range: 36737 "arcsvc.c", line 151: warning: initializer does not fit or is out of range: 36097 "arcsvc.c", line 151: warning: initializer does not fit or is out of range: 35905 "arcsvc.c", line 152: warning: initializer does not fit or is out of range: 33985 "arcsvc.c", line 152: warning: initializer does not fit or is out of range: 34177 "arcsvc.c", line 152: warning: initializer does not fit or is out of range: 34561 "arcsvc.c", line 152: warning: initializer does not fit or is out of range: 34369 "arcsvc.c", line 153: warning: initializer does not fit or is out of range: 33281 "arcsvc.c", line 153: warning: initializer does not fit or is out of range: 33601 "arcsvc.c", line 153: warning: initializer does not fit or is out of range: 33217 "arcsvc.c", line 153: warning: initializer does not fit or is out of range: 32897 cc: acomp failed for arcsvc.c gmake[2]: *** [arcsvc.o] Error 2 "arclzw.c", line 526: warning: function expects to return value: decomp "arclzw.c", line 545: warning: function expects to return value: decomp gmake[2]: Leaving directory `/home/maciej/src/opencsw/pkg/arc/trunk/work/solaris9-sparc/build-isa-sparcv8/arc-5.21p' gmake[1]: *** [build-custom] Error 2 gmake[1]: Leaving directory `/home/maciej/src/opencsw/pkg/arc/trunk' gmake: *** [build-isa-sparcv8] Error 2