[Rd] Re: Re: [R] How to build R-1.3.0 under HP-UX 11.00
Mon, 9 Jul 2001 23:41:46 +0200
>>>>> Kurt Hornik writes:
>>>>> Krzysztof Kopera writes:
>> Sorry, but my mail program add "ODP" instead "Re" to subject of my
>> previous letter. My last problem is solved but I have new, serious
>> problem with making internet module (under src/modules/internet),
>> below is output after "make":
>> gcc -shared -fPIC -o internet.sl Rsock.o internet.o nanoftp.o
>> nanohttp.o sock.o sockconn.o
>> /usr/bin/ld: DP relative code in file Rsock.o - shared library must be
>> independent. Use +z or +Z to recompile.
>> collect2: ld returned 1 exit status
>> Can you help me? Maybe anyone have experience in building R under
>> HP-UX 11.00 or other HP-UX.
> Maybe I am getting paranoid or it is too late at night but something
> looks awfully wrong ... all modules should compile using PIC.
> This should really be done using .lo in the OBJECTS. However, for
> reasons I cannot remember the GUI modules which have been around for
> some time use .o instead. They get PIC, though, by
> ALL_CFLAGS = $(R_XTRA_CFLAGS) $(CPICFLAGS) $(SHLIB_CFLAGS) $(CFLAGS)
> The modules added in 1.3.0 do not do this, which I think is wrong.
> I'll be gone for a workshop for the next two days, and will look into
> this on Thu.
Actually ... done now. Pls try again ...
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: email@example.com