Hi Mark,
On Monday 24 November 2008 22:54:32 Mark Rivers wrote:
> I've figured out why the linking of libCom.so was failing on solaris-sparc.
> The problem is that -lCrun must come AFTER -lCstd in the link line,
> because Cstd refers to functions in Crun, and it must be a one-pass linker?
If it works I think this change might be better as it only links to libCrun
once (don't forget to remove your added -lCrun from STLPORT_LDLIBS_NO):
Index: CONFIG.Common.solaris-sparc
===================================================================
--- CONFIG.Common.solaris-sparc 7 Oct 2008 22:17:17 -0000 1.15.2.21
+++ CONFIG.Common.solaris-sparc 1 Dec 2008 17:29:10 -0000
@@ -47,6 +47,7 @@ USE_STLPORT=NO
OP_SYS_CFLAGS+=$(STLPORT_CFLAGS_$(USE_STLPORT))
OP_SYS_LDFLAGS+=$(STLPORT_CFLAGS_$(USE_STLPORT))
+OP_SYS_LDLIBS += $(STLPORT_LDLIBS_$(USE_STLPORT))
# OS libraries used when generating shared libraries or static binaries
OP_SYS_LDLIBS += -lsocket -lnsl
@@ -54,7 +55,6 @@ OP_SYS_LDLIBS_8 += -lCrun -lc
OP_SYS_LDLIBS_9 += -lumem -lCrun -lc
OP_SYS_LDLIBS_10 += -lumem -lCrun -lc
OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(SOLARIS_VERSION))
-OP_SYS_LDLIBS += $(STLPORT_LDLIBS_$(USE_STLPORT))
# Definitions used when COMMANDLINE_LIBRARY is READLINE
READLINE_DIR = $(GNU_DIR)
- Andrew
--
Talk is cheap. Show me the code. -- Linus Torvalds
- References:
- solaris-x86 build error on 3.14.10 Mark Rivers
- RE: solaris-x86 build error on 3.14.10 Mark Rivers
- RE: solaris-x86 build error on 3.14.10 Mark Rivers
- Navigate by Date:
- Prev:
Re: New CVS compiles failed on Windows Andrew Johnson
- Next:
Re: sscan compile error on base 3.14.10 on linux Dirk Zimoch
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: solaris-x86 build error on 3.14.10 Mark Rivers
- Next:
Galil Motion Controllers Dropp, Christopher
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
<2008>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|