syck compiling error on HPUX - aCC

  • Thread starter Bermejo, Rodrigo (GEAE, Foreign National)
  • Start date
B

Bermejo, Rodrigo (GEAE, Foreign National)

I am getting the following error when compiling ruby-1.8
HP-UX B.11.00
compiling syck
aCC -Ae +Z -g +Z -I. -I/opt/ruby-1.8.0 -I/opt/ruby-1.8.0
-I/opt/ruby-1.8.0/ext/syck -DHAVE_ST_H -c gram.c
Error 173: "syck.h", line 183 # Redefined symbol '_syck_file';
previously defined at ["syck.h", line 127].
struct _syck_file {
^^^^^^^^^^^^^^^^^
Error 173: "syck.h", line 187 # Redefined symbol '_syck_str'; previously
defined at ["syck.h", line 128].
struct _syck_str {
^^^^^^^^^^^^^^^^
Error 173: "syck.h", line 197 # Redefined symbol '_syck_level';
previously defined at ["syck.h", line 129].
struct _syck_level {
^^^^^^^^^^^^^^^^^^
*** Error exit code 2

Stop.
*** Error exit code 1





Any clue ?


what if I dont want syck to be installed ?

I have tried deleting its line on the ext/Setup file, run configure
again, but it still trying to compile it


Thanks guys.

-rbermejo
 
B

Bermejo, Rodrigo

After syck.h patched

#irb
irb(main):001:0> require 'syck'
=> true
irb(main):002:0> `uname -a`
=> "HP-UX aeaehn07 B.11.00 A 9000/785 2009896547 two-user license\n"


Thanks a lot Mr._why
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top