Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gcc and proc on Solaris 8

Status
Not open for further replies.

DZH

Programmer
Apr 12, 2002
26
ZA
Hello, everyone. I'm trying to compile a C source generated by the proc command from an embedded SQL file. I'm using gcc 3.2 on Solaris 8 and binutils 2.11. My problem is that gcc fails to create an executable and gives the following sample output instead:

Entering state 0
Reading a token: Next token is 267 (STRUCT [CPP_NAME])
Reducing via rule 3 (line 306), -> @1
state stack now 0
Entering state 2
Next token is 267 (STRUCT [CPP_NAME])
Shifting token 267 (STRUCT), Entering state 10
Reading a token: Next token is 257 (IDENTIFIER [CPP_NAME] `sql_cursor')
Reducing via rule 347 (line 1604), STRUCT -> struct_head
state stack now 0 2 ...

What causes this behaviour and how can it be solved?

Dzh.
 
Ha! Silly me. I was using the "-dy" option. Got it.

DZH.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top