Skip to main content

Link Error Messages: cob0.s: Assembler messages if the GNU C is installed

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

You get the following message on Sun Sparc Solaris with Server Express:

/tmp/cobAAAmZaaPD/%cob0.s: Assembler messages:

/tmp/cobAAAmZaaPD/%cob0.s:36: Error: Unknown segment type

/tmp/cobAAAmZaaPD/%cob0.s:36: Warning: rest of line ignored; first ignored character is '"'

cob32: error(s) in assembling /tmp/cobAAAmZaaPD/%cob0.s

Resolution:

Solution is copy the GNU Versions to another name like

cp /usr/local/bin/as    /usr/local/bin/as.gnu

cp /usr/local/bin/ld    /usr/local/bin/ld.gnu

cp /usr/local/bin/make  /usr/local/bin/make.gnu

Then the cob command get the assembler of the Sun C Compiler

Old KB# 7211