Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-21-2013, 01:35 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Rep: 
|
make: Fatal error in reader:
Hi,
I am using solaris 8, and when i compile using the command make its throwing the below error
Can someone help me in reaching out this problem
command : make CPU=SIMLINUX TOOL=gnu
Error:
make: Fatal error in reader: ..... /h/make/rules.library, line 148: Unexpected end of line seen
Thanks & Regards,
Madhav
|
|
|
|
01-21-2013, 05:19 AM
|
#2
|
|
Senior Member
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 2,745
|
insufficient info, please provide more details: what do you want to build, what did you execute before this make command...
|
|
|
|
01-21-2013, 07:01 PM
|
#3
|
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Original Poster
Rep: 
|
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.
Thanks & Regards,
Madhav.
|
|
|
|
01-22-2013, 12:17 AM
|
#4
|
|
Senior Member
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 2,745
|
have you checked the file mentioned in the error message? What is in line 148?
|
|
|
|
01-22-2013, 03:51 AM
|
#5
|
|
LQ Newbie
Registered: Aug 2012
Posts: 5
Original Poster
Rep: 
|
line 147 ifeq ($(DEFS_LIBRARY),)
line 148 include $(TGT_DIR)/h/make/defs.library
line 149 endif
above three lines are there in the file, we cannot make any modification under this file. is there any way how to rectify this error.
|
|
|
|
01-22-2013, 04:20 AM
|
#6
|
|
Senior Member
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 2,745
|
does that defs.library exist? you can use make -d to debug makefile and get much more info. probably you can catch some strange thing
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:16 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|