Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: vxWorks 6.8 and "#define _VSB_CONFIG_FILE"
From: "Ernest L. Williams Jr." <ernesto@slac.stanford.edu>
To: Jeff Hill <johill@lanl.gov>
Cc: EPICS core-talk <core-talk@aps.anl.gov>
Date: Mon, 12 Sep 2011 10:00:54 -0700
Hi Jeff,

Looks like you added the following to some files in EPICS BASE R3-14-12

#define _VSB_CONFIG_FILE <../lib/h/config/vsbConfig.h>

This did not work globally as I received many warning messages.

====== snippet of src/libCom/osi/os/vxWorks/osdProcess.c ====
/*************************************************************************\
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
*     National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
*     Operator of Los Alamos National Laboratory.
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/

/*
* Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd
*
* Operating System Dependent Implementation of osiProcess.h
*
* Author: Jeff Hill
*
*/

/* This is needed for vxWorks 6.8 to prevent an obnoxious compiler warning */
#define _VSB_CONFIG_FILE <../lib/h/config/vsbConfig.h>

==== End snippet src/libCom/osi/os/vxWorks/osdProcess.c ================


++++++++++++++++++++++++++++++++++++++

The best place to put this would be in vxWorksCommon??

For now, I have placed it in one of my target config files.
I have attached for your reference.

===== CONFIG.Common.vxWorks-pentium4 =====
# CONFIG.Common.vxWorks-pentium4
#
# Revision-Id:
# This file is maintained by the build community.
#
# Definitions for vxWorks-pentium4 target archs
# Sites may override these definitions in CONFIG_SITE.Common.vxWorks-pentium4
#-------------------------------------------------------

# Include definitions common to all vxWorks target archs
include $(CONFIG)/os/CONFIG.Common.vxWorksCommon

# ====================================================================================== # Define "VSB_DIR" and "VXB_CONFIG_FILE" to get rid of warning message in vxWorks 6.8 # ======================================================================================
VSB_DIR=$(WIND_BASE)/vxworks-6.8/target/lib
# =====================================================================================

# Vx GNU cross compiler suffix
CMPLR_SUFFIX = pentium

ARCH_CLASS = pentium

ARCH_DEP_CPPFLAGS = -DCPU=PENTIUM4 -D_X86_ -D_WRS_KERNEL -MD -MP
ARCH_DEP_CPPFLAGS += -D_VSB_CONFIG_FILE=\"$(VSB_DIR)/h/config/vsbConfig.h\"
ARCH_DEP_CFLAGS += -mtune=pentium4 -march=pentium4
ARCH_DEP_CXXFLAGS += -x 'c++'
ARCH_DEP_CFLAGS += -fno-defer-pop -nostdlib
============================================================================================


Cheers,
Ernest

Replies:
RE: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Jeff Hill

Navigate by Date:
Prev: Re: [Merge] lp:~epics-core/epics-base/rebased-atomics into lp:epics-base Andrew Johnson
Next: RE: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: EPICS and SMP: target board ==> ivme7210 ==> OS ==> vxWorks Ernest L. Williams Jr.
Next: RE: vxWorks 6.8 and "#define _VSB_CONFIG_FILE" Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·