Make: Warning: Illegal dependency list for target `.DEFAULT'

Please help me! I have downloaded the source for Ruby-1.8.4,

I added gcc to the environment using “gcc=/usr/local/bin/gcc” & “export
gcc”. I have run ./configure successfully.

Then when I run “make” under Ruby-1.8.4, it gives me

make: Warning: Illegal dependency list for target .DEFAULT' gcc main.o libruby-static.a -ldl -lcrypt -lm -o miniruby -g -O2 -DRUBY_EXPORT Undefined first referenced symbol in file Init_ext libruby-static.a(ruby.o) ld: fatal: Symbol referencing errors. No output written to miniruby collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for targetminiruby’


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs