473,883 Members | 1,659 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

64 bit compile on Linux SPARC U5

I'm trying to get PostgreSQL-7.4RC2 to compile with 64 bit support on my Linux
SPARC Ultra5.
The problem is that the linker has to be passed (for what I have experienced)
the value -m elf64_sparc to /usr/bin/ld, else the linker will give this
error:

/usr/bin/ld -r -o SUBSYS.o heaptuple.o indextuple.o indexvalid.o printtup.o
scankey.o tupdesc.o
/usr/bin/ld: No tiene soporte el enlazado reubicable con reubicaciones del
formato elf64-sparc (heaptuple.o) al formato elf32-sparc (SUBSYS.o)
make[4]: *** [SUBSYS.o] Error 1

The error disappers if I add the "-m elf64_sparc" to the ld line.

Is there a way to have this added to the configure?

--
18:35:01 up 23 days, 1:57, 4 users, load average: 0.82, 1.58, 1.59
-----------------------------------------------------------------
Martín Marqués | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica | DBA, Programador, Administrador
Universidad Nacional
del Litoral
-----------------------------------------------------------------
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 12 '05 #1
0 1111

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

34
2715
by: Keith S. | last post by:
Hi Folks, When converting a double to an int, the result is not as I'd expect on Linux: #include <stdio.h> int main(int argc, char **argv) { double val = 0.24;
0
1315
by: Ganesh Tiwari | last post by:
i want to write a program, which works much like ldd command, which goes throgh c/c++ binary on solaris/SPARC and check whether it is possible to port it on to linux/intel. How do i do this? what are the parameters to look for in binaries for porting. Any guide lines in this direction would be world of good to me. Please reply to this fast, i am running out of time.
12
3467
by: jrefactors | last post by:
If the C programs have UNIX system calls such as fork(), alarm(), etc.., we should call it UNIX programs, not traditional C programs? We couldn't compile the programs with system calls using VC++ compiler. I need to compile it under UNIX platform. correct? any other alternatives?? Please advise. Thanks!!
3
1358
by: Martin Marques | last post by:
I tried compuiling RC1 and got this on make: make: Entering directory `/space/home/martin/basura/postgresql-7.4RC1/src/backend/access/common' /usr/bin/ld -r -o SUBSYS.o heaptuple.o indextuple.o indexvalid.o printtup.o scankey.o tupdesc.o /usr/bin/ld: Relocatable linking with relocations from format elf64-sparc (heaptuple.o) to format elf32-sparc (SUBSYS.o) is not supported make: *** Error 1
11
19055
by: Vittal | last post by:
Hello All, I have a Linux 64 bit machine and I have installed GCC 3.2.2 on it. Now I want to a compile a small .c file for 32 bit. I tried to use -m32 option for compiling the file as 32 bit. But my compiler failed to recognise that option. Can somebody tell me how I can compile a .c file for 32 bit on a 64 bit machine. Thanks in advance
2
3748
by: alok | last post by:
I am getting inconsistent behvior on Linux and Solaris platfors while computing doule ( 64 bit precision ) multiplications. I have following two double numbers whose integer representation is as following I have a union typedef union { double double_val; unsigned long long uint_val;
0
1760
by: abottchow | last post by:
Hi all, I'm new to the group and am seeking your advice on my Linux programming problem. Two programs are involved. One is myProgram.cc, which reads user's input from keyboard and prints output to the screen. The other program is main.cc, which wants to communicate with myProgram in real time using input/output redirection and two named pipes.
3
3310
by: Mikail Dellovich | last post by:
I am on a Solaris 10 6/06 SPARC machine. I tried to compile sound player app for Asterisk and got the following error: Can someone provide an explanation or work around? Thanks! xxdev2:12:24:/opt/sft/voip/asterisk-addons-1.2.5/format_mp3gmake gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -I/usr/include/ -I/u01/app/oracle/product/primary/rdbms/public/...
2
2305
by: mdshafi01 | last post by:
Hi, I am trying to compile c++ program in SunOs, It is giving following error. does any one tell me why this error is getting error is program's name is corrid.cpp This c++ program is used to connect to MQ Series ********************************************************************************
0
9938
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9791
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9572
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7971
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7125
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5797
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5991
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3232
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.