Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to build some vxworks sample driver, when i am trying to build .o it its throwing the above error.
Please have a look at make file :
# Makefile - makefile for target/3rdparty/windriver/wrsample
#
# modification history
# --------------------
# 01c,13oct08,h_k moved wrsampleApp.o to apps/Makefile.
# fixed EXTRA_INCLUDE path.
# 01b,02sep08,h_k changed CC_OPTIM_NORMAL to enable optimize flags.
# 01a,21aug07,tor created
#
# DESCRIPTION
# This file contains the makefile rules for building the
# wrsample driver, contained in the 3rd-party driver
# library provided by Wind River
#
#
# Do not modify TGT_DIR. This is constant across all
# drivers and modules.
#
TGT_DIR=$(WIND_BASE)/target
#
# The DOC_FILES macro is used to create per-function
# documentation for the user-accessible functions available
# in the source files listed. By convention, we expect that
# each 3rd party driver will be in a separate directory, and
# only one file will be listed here. The documentation is
# created when "make release" is run.
#
DOC_FILES=wrsample.c
#
# The LIB_BASE_NAME specifies the library in which the
# precompiled object modules will be put. The name of
# the library should be the name of the company that
# supports the driver.
#
LIB_BASE_NAME=windriver
#
# The EXTRA_INCLUDE line is used to indicate additional
# directories to search for include files when compiling
# the source files in this directory. The value here is
# redundant, but listed to show what application code would
# need if it uses any header file from this directory.
#
EXTRA_INCLUDE += -I$(TGT_DIR)/3rdparty/windriver/wrsample
#
# The OBJS_COMMON macro lists the object modules that
# are created in this directory, independent of architecture.
# If the driver in this directory is valid only for a
# single architecture, then you may specify a CPU-specific
# macro instead, e.g. OBJS_PPC32
#
OBJS_COMMON = wrsample.o
#
# Do not modify the OBJS macro.
#
OBJS = $(OBJS_COMMON) $(OBJS_$(CPU))
#
# Do not modify the following include.
#
include $(TGT_DIR)/h/make/rules.library
#
# Do not modify the following macro or include.
#
CC_OPTIM=$(CC_OPTIM_NORMAL)
include $(TGT_DIR)/h/make/defs.drivers
I think this info is useful, for further info please revert.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.