Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
What is eaccess()? Trying to compile ruby from the factory
  • From: "Greg Freemyer" <greg.freemyer@xxxxxxxxx>
  • Date: Tue, 4 Apr 2006 15:36:35 -0400
  • Message-id: <87f94c370604041236p2edcaadep3103de3d32fe91c3@xxxxxxxxxxxxxx>
I've previously downloaded and compiled ruby 1.8.3 from the factory on
a SUSE 10.0 machine.

On the same machine, I just tried to do the same with Ruby 1.8.4

I'm getting compile errors.

gcc main.o libruby-static.a -ldl -lcrypt -lm -o miniruby -O2 -g
-march=i586 -mtune=i686 -fmessage-length=0 -D_FORTIFY_SOURCE=2
-fno-strict-aliasing -fPIC -DRUBY_EXPORT -rdynamic
-Wl,-export-dynamic
libruby-static.a(file.o): In function `test_r':
/usr/src/packages/BUILD/ruby-1.8.4/file.c:1125: undefined reference to `eaccess'
libruby-static.a(file.o): In function `test_w':
/usr/src/packages/BUILD/ruby-1.8.4/file.c:1160: undefined reference to `eaccess'
libruby-static.a(file.o): In function `test_x':
/usr/src/packages/BUILD/ruby-1.8.4/file.c:1194: undefined reference to `eaccess'
libruby-static.a(dln.o): In function `dln_find_1':
/usr/src/packages/BUILD/ruby-1.8.4/dln.c:1814: undefined reference to `eaccess'

I'm comfortable with compiling C code, but I don't think I've ever
heard of eaccess.

Any ideas on how I can go forward.

Thanks
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century

< Previous Next >