bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gawk] undefined symbol (major, minor) on Solaris11


From: ICHII Takashi
Subject: [bug-gawk] undefined symbol (major, minor) on Solaris11
Date: Wed, 22 May 2013 20:44:47 +0900

Hi,

Building gawk-4.1.0 on Solaris11, SolarisStudio12.3 (sun compiler)
fails as below:
===
libtool: link: /opt/solstudio/bin/cc -G -z defs -h filefuncs.so -o
.libs/filefuncs.so  .libs/filefuncs.o .libs/stack.o .libs/gawkfts.o
-lc  -m64 -m64
Undefined                       first referenced
 symbol                             in file
major                               .libs/filefuncs.o
minor                               .libs/filefuncs.o
ld: fatal: symbol referencing errors. No output written to .libs/filefuncs.so
===

The compiler flags are:
CC=/opt/solstudio/bin/cc
CFLAGS="-m64 -Xc"

% uname -a
SunOS bigbird 5.11 11.1 i86pc i386 i86pc Solaris
% /opt/solstudio/bin/cc -V
cc: Sun C 5.12 SunOS_i386 2011/11/16

Note that it's successful with gawk-4.0.1, which has "#include
<sys/sysmacros.h>" in filefunc.c.


Regards,
Takashi


--
ICHII Takashi
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]