Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

error 1705: Function prototypes are an ANSI feature - more problems

 
Richard Darling
Trusted Contributor

error 1705: Function prototypes are an ANSI feature - more problems

The program was recoded in K&R c which I did, now we get the following error:

magnal:L1000>:cob -xve "" socketsHP.c -o my_rts
cob -C nolist -xve socketsHP.c -o my_rts
cob: Entry points defined in module: socketsHP.o sockets
cob: can not execute as
cob: error(s) in assembling /var/tmp/cobBAAa22504/ldtab.s

It seems that there is a problem with the as assembler program.
Any ideas appreciated. Richard
rdarling@southwickclothing.com
5 REPLIES 5
Brian Bergstrand
Honored Contributor

Re: error 1705: Function prototypes are an ANSI feature - more problems

Is there a reason you can't download gcc and use that? The built-in compiler is not meant to be used for anything but kernel builds.

I don't know what this specific error is, but you could avoid all of these hassles by using gcc.
Kent Ostby
Honored Contributor

Re: error 1705: Function prototypes are an ANSI feature - more problems

Richard Darling
Trusted Contributor

Re: error 1705: Function prototypes are an ANSI feature - more problems

Hi Kent,
We are running on 11.0. Thanks.
Richard
rdarling@southwickclothing.com
Richard Darling
Trusted Contributor

Re: error 1705: Function prototypes are an ANSI feature - more problems

Hi Brian,
Clay suggested that yesterday, but we are on the phone right now trying something else with a tech from maintenace...will update.
Richard
Thanks.
rdarling@southwickclothing.com
Richard Darling
Trusted Contributor

Re: error 1705: Function prototypes are an ANSI feature - more problems

The problem has been resolved. it was an incorrect path to as; should have been /usr/ccs/bin/as. Thanks to all.
Richard
rdarling@southwickclothing.com