On Sat, Jun 2, 2012 at 12:33 AM, Roland Mainz <[email protected]> wrote:
> On Sat, Jun 2, 2012 at 12:03 AM, Glenn Fowler <[email protected]> wrote:
>>
>> the AT&T Software Technology ast beta 2012-05-31 source release
>> has been posted to the download site
>>        http://www.research.att.com/sw/download/beta/
>> the package names and md5 checksums are
>>            INIT  190c689937c84978964cabf4b2d5555e
>>        ast-base  2131b55b82738c80888c26b319a98153
>>        ast-open  42a792f91e04daa58781e10ed79b79fd
>>         ast-ksh  707b6d2c338e64e9b6e1db5296e384f5
>>       ast-jmake  3fc2da59c872cdb81a2477b2472f3efd
>> the md5 sums should match the ones listed on the download page
>> if not then don't download
>>
>> the git source repository has also been updated
>>        http://www.research.att.com/sw/gitweb/
>
> I'm getting missing symbols if I compile with map-libc:
> -- snip --
> /opt/SUNWspro/bin/cc '-xc99=%all' '-D_XOPEN_SOURCE=600'
> '-D__EXTENSIONS__=1' -m64 -KPIC -D_TS_ERRNO -D_REENTRANT -KPIC -g -xs
> -xspace -Xa -xstrconst -z combreloc -xildoff -xcsi '-errtags=yes'
> '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR=\"/usr/ast/bin\"'
> '-DSHOPT_CMDLIB_HDR=\"/home/test001/ksh93/ast_ksh_20120531/build_i386_64bit_debug/tmp_solaris_builtin_header.h\"'
> -DSHOPT_SYSRC '-D_map_libc=1' '-D_lib_socket=1' -lsocket -lnsl
> -L/home/test001/ksh93/ast_ksh_20120531/build_i386_64bit_debug/arch/sol11.i386/lib/
> -Bdirect -o ksh pmain.o -lshell -Bstatic -lcmd-g -Bdynamic -lsum
> -lcoshell -ldll -last -lm -lmd -lsecdb
> Undefined                       first referenced
>  symbol                             in file
> _ast_strgrpmatch
> /home/test001/ksh93/ast_ksh_20120531/build_i386_64bit_debug/arch/sol11.i386/lib//libshell.so
> _ast_regrexec
> /home/test001/ksh93/ast_ksh_20120531/build_i386_64bit_debug/arch/sol11.i386/lib//libshell.so
> _ast_regnexec
> /home/test001/ksh93/ast_ksh_20120531/build_i386_64bit_debug/arch/sol11.i386/lib//libshell.so
> ld: fatal: symbol referencing errors. No output written to ksh
> $ nm ./arch/sol11.i386/lib/libast.so | fgrep 'strgrpma'
> [6058]  |              355312|                1421|FUNC |GLOB |0
> |15     |_ast_strgrpmatch_20120528
> [5354]  |              355232|                  77|FUNC |GLOB |0
> |15     |strgrpmatch
> $ nm ./arch/sol11.i386/lib/libast.so | fgrep '_ast_regrexec'
> [5223]  |             1145632|                1981|FUNC |GLOB |0
> |15     |_ast_regrexec_20120528
> $ nm ./arch/sol11.i386/lib/libast.so | fgrep '_ast_regnexec'
> [5396]  |             1125984|                4611|FUNC |GLOB |0
> |15     |_ast_regnexec_20120528
> -- snip --

Grumpf... Linux has the same problem with map-libc:
-- snip --
libshell-g.a(io.o): In function `pat_line':
/home/test001/work/ast_ksh_201205031/build_normal_maplibc/src/cmd/ksh93/sh/io.c:965:
undefined reference to `_ast_regnexec'
libshell-g.a(io.o): In function `io_patseek':
/home/test001/work/ast_ksh_201205031/build_normal_maplibc/src/cmd/ksh93/sh/io.c:987:
undefined reference to `_ast_regrexec'
libshell-g.a(macro.o): In function `varsub':
/home/test001/work/ast_ksh_201205031/build_normal_maplibc/src/cmd/ksh93/sh/macro.c:1808:
undefined reference to `_ast_strgrpmatch'
libshell-g.a(macro.o): In function `substring':
/home/test001/work/ast_ksh_201205031/build_normal_maplibc/src/cmd/ksh93/sh/macro.c:2528:
undefined reference to `_ast_strgrpmatch'
/home/test001/work/ast_ksh_201205031/build_normal_maplibc/src/cmd/ksh93/sh/macro.c:2543:
undefined reference to `_ast_strgrpmatch'
libshell-g.a(test.o): In function `test_strmatch':
/home/test001/work/ast_ksh_201205031/build_normal_maplibc/src/cmd/ksh93/bltins/test.c:103:
undefined reference to `_ast_strgrpmatch'
collect2: ld returned 1 exit status
make [cmd/ksh93]: *** exit code 1 making ksh
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to