Your gcc us using the wrong assembler. Recent gcc's need to use gnu as.

http://www.google.com/search?as_q=&num=10&btnG=Google+Search&as_epq=error%3A+unknown+opcode&as_oq=&as_eq=&lr=&as_ft=i&as_filetype=&as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=&safe=off

Tim.

On Thu, Mar 07, 2002 at 09:19:04AM -0000, Ghufran Shah wrote:
> Hi there,
> 
> I'm having problems compiling the perl DBI module for solaris - The
> DBI.o fails to compile.
> 
> The output is shown below.
> 
> Any ideas/help would be appreciated.
> 
> Thanks - Gee.
> 
> 
> /usr/ccs/bin/as: "/var/tmp/ccI3VxZ1.s", line 3428: error: unknown opcode
> ".subsection"
> /usr/ccs/bin/as: "/var/tmp/ccI3VxZ1.s", line 3428: error: statement
> syntax
> /usr/ccs/bin/as: "/var/tmp/ccI3VxZ1.s", line 3446: error: unknown opcode
> ".previous"
> /usr/ccs/bin/as: "/var/tmp/ccI3VxZ1.s", line 3446: error: statement
> syntax
> *** Error code 1
> make: Fatal error: Command failed for target `DBI.o'
> ..
> 

Reply via email to