Jump to content

UVMSC compilation failure on OSX


Recommended Posts

Hi,

UVMSC fails to compile of OSX with the error message below. The "macros" archive contains no symbols (just seems to be a macro definitions), so it shouldn't be compiled into an archive.

Making all in conf
make[4]: Nothing to be done for `all'.
Making all in dpi
make[4]: Nothing to be done for `all'.
Making all in factory
make[4]: Nothing to be done for `all'.
Making all in macros
  CCLD   libmacros.la
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
make[4]: *** [libmacros.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

 

Link to comment
Share on other sites

  • 5 months later...
On 5/28/2019 at 5:02 AM, BigSteve said:

Hi,

UVMSC fails to compile of OSX with the error message below. The "macros" archive contains no symbols (just seems to be a macro definitions), so it shouldn't be compiled into an archive.


Making all in conf
make[4]: Nothing to be done for `all'.
Making all in dpi
make[4]: Nothing to be done for `all'.
Making all in factory
make[4]: Nothing to be done for `all'.
Making all in macros
  CCLD   libmacros.la
ar: no archive members specified
usage:  ar -d [-TLsv] archive file ...
	ar -m [-TLsv] archive file ...
	ar -m [-abiTLsv] position archive file ...
	ar -p [-TLsv] archive [file ...]
	ar -q [-cTLsv] archive file ...
	ar -r [-cuTLsv] archive file ...
	ar -r [-abciuTLsv] position archive file ...
	ar -t [-TLsv] archive [file ...]
	ar -x [-ouTLsv] archive [file ...]
make[4]: *** [libmacros.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

 

It happens because there is no source files ".cpp" when generating libmacros.la. You can work around by creating the dummy file (empty) source file and update the Makefile.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...