http://bugs.opensolaris.org/view_bug.do?bug_id=6511758
6511758 ser module has an undefined symbol reference

I've changed the makefile such that the compiled is passed an option so
it treats extern inlines as it did before and not like C99 specifies.

The diffs are after my signature as they are small.

http://cvs.opensolaris.org/source/xref/sfwnv/test_stevel/usr/src/cmd/ser/Makefile.sfw
is a pointer to the current code in the source browser.

I tested this on x86 and sparc.  I didn't do additional functional
testing beyond having ser startup and load tm.o
(cp /etc/ser/ser.cfg.sample /etc/ser/ser/cfg; /usr/sfw/sbin/ser -c).

                        mph

Index: usr/src/cmd/ser/Makefile.sfw
*** /tank/ws/sfwnvclone/usr/src/cmd/ser/Makefile.sfw    Wed Jun 20 18:33:48 2007
--- /tank/ws/sfwnv_work/usr/src/cmd/ser/Makefile.sfw    Wed Jun 27 20:46:19 2007
***************
*** 22,34 ****
  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  # Use is subject to license terms.
  #
! #ident        "@(#)Makefile.sfw       1.5     07/04/27 SMI"
  
  VER=ser-0.8.12
  
  all: $(VER)/config.status
        (cd $(VER); env \
!               CC=$(CC) CXX=$(CCC)             \
                INSTALL=/usr/ucb/install        \
                MAKE=/usr/ccs/bin/make  \
                DESTDIR=/usr/sfw                \
--- 22,34 ----
  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  # Use is subject to license terms.
  #
! #ident        "@(#)Makefile.sfw       1.6     07/06/27 SMI"
  
  VER=ser-0.8.12
  
  all: $(VER)/config.status
        (cd $(VER); env \
!               CC="$(CC) -features=no%extinl" CXX=$(CCC)       \
                INSTALL=/usr/ucb/install        \
                MAKE=/usr/ccs/bin/make  \
                DESTDIR=/usr/sfw                \

Reply via email to