Discussion:
[ast-developers] sol11.i386 ast-open build attempts
Bruce Lilly
2014-08-25 00:21:22 UTC
Permalink
$ uname -srvmpio
SunOS 5.11 oi_151a8 i86pc i386 i86pc Solaris

$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with:
/home/jt/OI-151A-STABLE/151A-PRESTABLE8/newbuilds/sfw/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld
--enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)

All builds seem to require 'package make "LDFLAGS=-lm -lsocket -lnsl"'
Without -lm, nmake, probe and a couple of others fail to link (missing a
few symbols *expl).
Without the others, several programs fail to link (missing networking
symbols, e.g. getservbyname).

With LDFLAGS as noted above, everything builds fine using the latest
"official" package from the AT&T site.
'package test' reports a few errors related to sign bits (e.g. NaN instead
of -NaN).
Overall, not so bad, though the code base is a couple of years old.

ast-open.2014-06-25.tgz
<http://www2.research.att.com/~astopen/download/beta/ast-open.2014-06-25.tgz>
(latest beta on AT&T site) fails miserably.

With ast-open.2014-07-21.tgz ,
[my, what an obnoxious oversized font Google drive uses]
(with separate download, copy, etc. manual steps; a URL that works with
package setup
or at least with wget or curl or rsync or ftp (e.g. from an ssh session on
a headless machine)
would be nice)
there are several executables that don't build properly even with LDFLAGS
as above:

$ egrep '[*][*][*]|error:|fatal:| '
/opt/ast/arch/sol11.i386/lib/package/gen/*.out
mbnchar od.o
ld: fatal: symbol referencing errors. No output written to od
make [cmd/builtin]: *** exit code 1 making od
make [cmd/builtin]: *** 1 action failed
make: *** exit code 1 making cmd/builtin
/opt/ast/src/lib/libvcodex/vcsfio.c:43: error: syntax error before
"Vcsfdata_t"
/opt/ast/src/lib/libvcodex/vcsfio.c:67: error: syntax error before '}' token
/opt/ast/src/lib/libvcodex/vcsfio.c:229: error: syntax error before '*'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:239: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:239: error: (Each undeclared identifier
is reported only once
/opt/ast/src/lib/libvcodex/vcsfio.c:239: error: for each function it
appears in.)
/opt/ast/src/lib/libvcodex/vcsfio.c:244: error: `VCSF_PLAIN' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:257: error: `VCSF_VCDIFF' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:272: error: syntax error before '*'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:281: error: `size' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:282: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:300: error: syntax error before '*'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:310: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:319: error: `disc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:320: error: `f' undeclared (first use
in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:356: error: syntax error before '*'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:419: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:424: error: syntax error before '*'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:438: error: `identify' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:440: error: `f' undeclared (first use
in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:451: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:460: error: `init' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:516: error: `VCSF_TRANS' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:523: error: syntax error before '*'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:537: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:649: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:649: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:764: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:764: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:855: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:855: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:861: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:898: error: `VCSF_PLAIN' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:920: error: `VCSF_FREE' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:967: error: syntax error before '*'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:967: error: syntax error before
"Vcsfdata_t"
/opt/ast/src/lib/libvcodex/vcsfio.c:978: error: `sfdc' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:978: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:979: error: `Vcsfdata_t' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:979: error: syntax error before "dflt"
/opt/ast/src/lib/libvcodex/vcsfio.c:981: error: `sfdt' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:981: error: `type' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:982: error: `dflt' undeclared (first
use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:986: error: `sf' undeclared (first use
in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:987: error: `Vcsfio_t' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:987: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:989: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:991: error: `VCSF_VCDIFF' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:992: error: `VCSF_PLAIN' undeclared
(first use in this function)
/opt/ast/src/lib/libvcodex/vcsfio.c:1000: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:1000: error: syntax error before ')'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:1003: error: label `_ast_error' used
but not defined
/opt/ast/src/lib/libvcodex/vcsfio.c:1007: error: syntax error before '->'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:1016: error: `dflt' undeclared here
(not in a function)
/opt/ast/src/lib/libvcodex/vcsfio.c:1017: error: syntax error before '}'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:1020: error: request for member
`window' in something not a structure or union
/opt/ast/src/lib/libvcodex/vcsfio.c:1020: error: `wmeth' undeclared here
(not in a function)
/opt/ast/src/lib/libvcodex/vcsfio.c:1020: error: initializer element is not
constant
/opt/ast/src/lib/libvcodex/vcsfio.c:1022: error: syntax error before "if"
/opt/ast/src/lib/libvcodex/vcsfio.c:1082: error: conflicting types for
'_ast_free'
/opt/ast/src/lib/libvcodex/vchdr.h:103: error: previous declaration of
'_ast_free' was here
/opt/ast/src/lib/libvcodex/vcsfio.c:1082: error: conflicting types for
'_ast_free'
/opt/ast/src/lib/libvcodex/vchdr.h:103: error: previous declaration of
'_ast_free' was here
/opt/ast/src/lib/libvcodex/vcsfio.c:1083: error: syntax error before '->'
token
/opt/ast/src/lib/libvcodex/vcsfio.c:1101: error: syntax error before
numeric constant
/opt/ast/src/lib/libvcodex/vcsfio.c:1102: error: syntax error before
"Sfio_t"
/opt/ast/src/lib/libvcodex/vcsfio.c:1123: error: syntax error before '}'
token
make [lib/libvcodex]: *** exit code 1 making vcsfio.o
make [lib/libvcodex]: *** 1 action failed
make: *** exit code 1 making lib/libvcodex
make [cmd/codex]: *** 1 action failed
make: *** exit code 1 making cmd/codex
make [cmd/codexlib/zip]: *** 1 action failed
make: *** exit code 1 making cmd/codexlib/zip
make [cmd/kshlib/codex]: *** 1 action failed
make: *** exit code 1 making cmd/kshlib/codex
make [cmd/pax]: *** 1 action failed
make: *** exit code 1 making cmd/pax
make [cmd/paxlib/arj]: *** 1 action failed
make: *** exit code 1 making cmd/paxlib/arj
make [cmd/paxlib/calib]: *** 1 action failed
make: *** exit code 1 making cmd/paxlib/calib
make [cmd/paxlib/lha]: *** 1 action failed
make: *** exit code 1 making cmd/paxlib/lha
make [cmd/paxlib/rar]: *** 1 action failed
make: *** exit code 1 making cmd/paxlib/rar
make [cmd/paxlib/zip]: *** 1 action failed
make: *** exit code 1 making cmd/paxlib/zip
make [cmd/paxlib/zoo]: *** 1 action failed
make: *** exit code 1 making cmd/paxlib/zoo
error proto.o
ld: fatal: symbol referencing errors. No output written to proto
make [cmd/proto]: *** exit code 1 making proto
make [cmd/proto]: *** 1 action failed
make: *** exit code 1 making cmd/proto
make [cmd/vczip]: *** 1 action failed
make: *** exit code 1 making cmd/vczip
/opt/ast/src/lib/libtaso/taso.c:66: error: syntax error before "aso_spin"
/opt/ast/src/lib/libtaso/taso.c:66: error: `ASO_THREAD' undeclared here
(not in a function)
/opt/ast/src/lib/libtaso/taso.c:106: error: syntax error before "aso_mutex"
/opt/ast/src/lib/libtaso/taso.c:112: error: syntax error before '*' token
/opt/ast/src/lib/libtaso/taso.c:133: error: syntax error before '*' token
/opt/ast/src/lib/libtaso/taso.c:140: error: `Asometh_t' undeclared (first
use in this function)
/opt/ast/src/lib/libtaso/taso.c:140: error: (Each undeclared identifier is
reported only once
/opt/ast/src/lib/libtaso/taso.c:140: error: for each function it appears
in.)
/opt/ast/src/lib/libtaso/taso.c:140: error: `meth' undeclared (first use in
this function)
/opt/ast/src/lib/libtaso/taso.c:143: error: `ASO_NEXT' undeclared (first
use in this function)
/opt/ast/src/lib/libtaso/taso.c:145: error: syntax error before ')' token
/opt/ast/src/lib/libtaso/taso.c:156: error: request for member `type' in
something not a structure or union
/opt/ast/src/lib/libtaso/taso.c:158: error: request for member `details' in
something not a structure or union
/opt/ast/src/lib/libtaso/taso.c:165: error: request for member `name' in
something not a structure or union
/opt/ast/src/lib/libtaso/taso.c:168: error: request for member `details' in
something not a structure or union
make [lib/libtaso]: *** exit code 1 making taso.o
make [lib/libtaso]: *** 1 action failed
make: *** exit code 1 making lib/libtaso
make: *** 15 actions failed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.research.att.com/pipermail/ast-developers/attachments/20140824/8e7af746/attachment-0001.html>
Loading...