Nov 1 2006, 11:49 AM
Post
#1
|
|
![]() Group: Members Posts: 21 Joined: 15-April 04 From: Brugg, Schweiz Member No.: 2,858 |
Hi together,
once or twice a year I try to compile R (www.r-project.org) for my C760. For compilation of R gcc and g77 are needed and later the R-binary is used to compile further modules (which makes it diffult to build with a cross-compiler My latest attempt was a native compilation based on OZ 3.5.4.1 (gpe) and the native sdk + additional packages as listed in the OZ wiki. Configuration and compilation was without problems until linking of the main R binary. Linking failed with the following message: gcc -Wl,--export-dynamic -L/usr/local/lib -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o connections.o context.o cov.o cum.o dcf.o datetime.o debug.o deparse.o deriv.o dotcode.o dounzip.o dstruct.o duplicate.o engine.o envir.o errors.o eval.o format.o fourier.o gevents.o gram.o gram-ex.o graphics.o identical.o internet.o iosupport.o lapack.o list.o localecharset.o logic.o main.o mapply.o match.o memory.o model.o names.o objects.o optim.o optimize.o options.o par.o paste.o pcre.o platform.o plot.o plot3d.o plotmath.o print.o printarray.o printvector.o printutils.o qsort.o random.o regex.o registration.o relop.o rlocale.o saveload.o scan.o seq.o serialize.o size.o sort.o source.o split.o sprintf.o startup.o subassign.o subscript.o subset.o summary.o sysutils.o unique.o util.o version.o vfonts.o xxxpr.o ../unix/libunix.a ../appl/libappl.a ../nmath/libnmath.a -L../../lib -lRblas -lg2c -lm -lgcc_s ../extra/zlib/libz.a ../extra/bzip2/libbz2.a ../extra/pcre/libpcre.a -lreadline -ldl -lm /lib/ld-linux.so.2: undefined reference to `errno' collect2: ld returned 1 exit status At the moment I have no idea if this is related to R or if it is a OZ problem. Did someone encounter a similar problem before? Many thanks, Georg |
|
|
|
Hakkikkt Native Compilation Nov 1 2006, 11:49 AM
lardman Does this error mean that the declaration of errno... Nov 2 2006, 02:39 AM
Hakkikkt Hoi,
I looked at the sources in src/main too. In s... Nov 2 2006, 12:37 PM
Hakkikkt Hoi again,
I found a way to get it working. The h... Nov 3 2006, 01:43 AM
Meanie QUOTE(Hakkikkt @ Nov 3 2006, 07:43 PM)Hoi aga... Nov 3 2006, 02:32 AM
lardman Sounds like it's probably a bug.
Can you add ... Nov 3 2006, 02:20 AM
Hakkikkt QUOTE(lardman @ Nov 3 2006, 02:20 AM)Sounds l... Nov 4 2006, 12:05 AM
Hrw Editing of libc.so is NOT needed. You need binutil... Nov 3 2006, 03:43 AM
Hakkikkt QUOTE(Hrw @ Nov 3 2006, 03:43 AM)Editing of l... Nov 3 2006, 09:21 AM
lardman Glad you've got it sorted out
Si Nov 6 2006, 06:07 AM
lardman One (random) point to note.
The need to pass ac_c... Nov 8 2006, 07:22 AM
xjqian QUOTE(lardman @ Nov 8 2006, 09:22 AM) Thi... Nov 30 2007, 12:26 AM![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 07:00 PM |