Build error: Solaris 9 + libsmbios

Michael_E_Brown at Dell.com Michael_E_Brown at Dell.com
Tue Oct 3 14:19:52 CDT 2006


If you are a makefile wizard and want to re-write my Makefiles, be my
guest. You should start by copying build/Rules.make-linux to
build/Rules.make-solaris and making changes from there. Change the
include in the main Makefile to point to your new solaris makefiles. I
would not recommend this, as it is likely a lot of work.
 
Otherwise, I will see if I can get something put together today.
--
Michael


________________________________

	From: libsmbios-devel-bounces at lists.us.dell.com
[mailto:libsmbios-devel-bounces at lists.us.dell.com] On Behalf Of Munish
Dev Arora
	Sent: Tuesday, October 03, 2006 2:16 PM
	To: Brown, Michael E; libsmbios-devel at lists.us.dell.com
	Subject: RE: Build error: Solaris 9 + libsmbios
	
	

	Thanks Michael,

	 

	As I understand you will be working on autotools to make the
compilation simpler. After this running some script should create
Makefiles and then simple "make" should build the libsmbios.

	 

	Is there any other way that I can compile the libsmbios code
before you come up with the tools?

	 

	Thanks & regards,

	-munish-

	 

	-----Original Message-----
	From: Michael_E_Brown at Dell.com [mailto:Michael_E_Brown at Dell.com]

	Sent: Tuesday, October 03, 2006 12:04 PM
	To: marora at cittio.com; libsmbios-devel at lists.us.dell.com
	Subject: RE: Build error: Solaris 9 + libsmbios

	 

	Looking at things, it is going to take a fair amount of work to
get it going on Solaris as things stand now.

	 

	I am now looking at how much effort it would take to use
autotools to make this simpler. I'll take a couple hours and look into
this.

	--

	Michael

	 

	-----Original Message-----

	From: libsmbios-devel-bounces at lists.us.dell.com on behalf of
Munish Dev Arora

	Sent: Tue 10/3/2006 1:55 PM

	To: Brown, Michael E; libsmbios-devel at lists.us.dell.com

	Subject: RE: Build error: Solaris 9 + libsmbios

	 

	To add more to what I said earlier, here is what I have done
till now.

	 

	 

	 

	Installed Solaris 9 (install CD, Disk1, Disk2) from Sun's
website, then

	installed some more packages including gcc-3.4.6-sol9-x86-local
and

	make-3.80-sol9-intel-local from http://www.sunfreeware.com/

	 

	 

	 

	Do I need some sort of combination of make/gmake/cc/gcc for
compiling?

	 

	 

	 

	-munish-

	 

	 

	 

	  _____  

	 

	From: libsmbios-devel-bounces at lists.us.dell.com

	[mailto:libsmbios-devel-bounces at lists.us.dell.com] On Behalf Of
Munish Dev

	Arora

	Sent: Tuesday, October 03, 2006 11:28 AM

	To: Michael_E_Brown at dell.com; libsmbios-devel at lists.us.dell.com

	Subject: RE: Build error: Solaris 9 + libsmbios

	 

	 

	 

	I am using make and here is the output of PATH env variable.

	 

	 

	 

	# echo $PATH

	 

	/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

	 

	# make

	 

	DEPENDENCIES             : bins/isCmosTokenActive.d

	 

	/bin/sh: syntax error at line 1: `BASE=$' unexpected

	 

	make: *** [bins/isCmosTokenActive.d] Error 2

	 

	 

	 

	-munish-

	 

	 

	 

	  _____  

	 

	From: Michael_E_Brown at Dell.com [mailto:Michael_E_Brown at Dell.com]


	Sent: Tuesday, October 03, 2006 11:17 AM

	To: marora at cittio.com; libsmbios-devel at lists.us.dell.com

	Subject: RE: Build error: Solaris 9 + libsmbios

	 

	 

	 

	Are you using GNU make on solaris and GCC? Or are you using
solaris make and

	cc?

	 

	--

	 

	Michael

	 

	 

	 

	 

	  _____  

	 

	 

	From: libsmbios-devel-bounces at lists.us.dell.com

	[mailto:libsmbios-devel-bounces at lists.us.dell.com] On Behalf Of
Munish Dev

	Arora

	Sent: Tuesday, October 03, 2006 12:25 PM

	To: libsmbios-devel at lists.us.dell.com

	Subject: Build error: Solaris 9 + libsmbios

	 

	Hi,

	 

	 

	 

	I am trying to compile libsmbios on Solaris 9 (x86
architecture). I have

	downloaded the older source code version i.e. libsmbios-0.10.5
and I am

	getting following error as soon as I start the build in the main
directory.

	 

	 

	 

	DEPENDENCIES             : supported-bins/assetTag.d

	 

	/bin/sh: syntax error at line 1: `BASE=$' unexpected

	 

	make: *** [supported-bins/assetTag.d] Error 2

	 

	 

	 

	 

	 

	Any ideas what this could be for? Is it that I have to write new
Makefile?

	Any clues would be appreciated.

	 

	 

	 

	Thanks

	 

	-munish-

	 

	 

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.us.dell.com/pipermail/libsmbios-devel/attachments/20061003/e67b0a76/attachment-0001.htm 


More information about the libsmbios-devel mailing list