Sponsored Content
Operating Systems AIX Compiling 32 bit app on 64 bit kernal Post 302176622 by morrisey on Tuesday 18th of March 2008 07:15:24 PM
Old 03-18-2008
Compiling 32 bit app on 64 bit kernal

I've been trying to compile an application that works on AIX 5L in 32 bit mode on an AIX 5L 64 bit mode machine. In doing so I get a lot of undefined symbol errors.

Below is a sample of what the output looks like.....

%make -f makefile_hl7 all
cc -L/u01/app/oracle/product/10.2.0/lib32/ -o hl7_post -g -D_ORACLE_ -D_HL7_ obj_hl7/post obj_hl7/p_history.o
/u01/app/oracle/product/10.2.0/precomp/lib32/libsql10.a
-L/u01/app/oracle/product/10.2.0/lib32/ -lclntsh -lld -lm `cat /u01/app/oracle/product/10.2.0/lib32/sysliblist`
-lm -lc_r -lpthreads
ld: 0711-317 ERROR: Undefined symbol: .lcvb2w
ld: 0711-317 ERROR: Undefined symbol: .upih2o
ld: 0711-317 ERROR: Undefined symbol: .upiico
ld: 0711-317 ERROR: Undefined symbol: .lxldini
ld: 0711-317 ERROR: Undefined symbol: .lmsaicmt
ld: 0711-317 ERROR: Undefined symbol: .lxmopen
ld: 0711-317 ERROR: Undefined symbol: .lxoWriChar
 

6 More Discussions You Might Find Interesting

1. Programming

copying or concatinating string from 1st bit, leaving 0th bit

Hello, If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit. How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies

2. Gentoo

compiling 32 bit application on 64 bit linux(x86_64)

hi all, i have a 64 bit linux machine. $uname -a Linux SVRDELLD30 2.6.9-42.ELsmp #1 SMP Tue Aug 15 10:35:26 BST 2006 x86_64 x86_64 x86_64 GNU/Linux here by default gcc creates 64 bit executable. but for some reason i want to create 32bit executable. first i want to create 32 bit object... (3 Replies)
Discussion started by: uttamhoode
3 Replies

3. UNIX for Advanced & Expert Users

Error compiling 32-bit Qt-4.7 on 64-bit Ubuntu OS

Hi, I am compiling Qt-4.7 for 32-bit on 64-bit (x86_64) Ubuntu 8.04 desktop. I have installed all the 32-bit libraries (/lib32 and /usr/lib32) through getlibs and "apt-get install ia32-libs". But I am getting the following error while configuring the qt project as: ./configure -platform... (2 Replies)
Discussion started by: royalibrahim
2 Replies

4. AIX

32 bit app on aix 6.1

We have our in house developed software running on AIX 6.1 (6100-06-06-1140). The application is a 32 bit application and the operating system is 64 bit. We are running this application without any issue on AIX 5.3 32-bit on P5. We are facing issue with this application after moving on P7 with aix... (4 Replies)
Discussion started by: vjm
4 Replies

5. Shell Programming and Scripting

How to handle 64 bit arithmetic operation at 32 bit compiled perl interpreter?H

Hi, Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result. perl interpreter info, perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies

6. Windows & DOS: Issues & Discussions

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

Hello everyone. I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
ddi_dma_set_sbus64(9F)					   Kernel Functions for Drivers 				    ddi_dma_set_sbus64(9F)

NAME
ddi_dma_set_sbus64 - allow 64-bit transfers on SBus SYNOPSIS
#include <sys/ddi.h> #include <sys/sunddi.h> int ddi_dma_set_sbus64(ddi_dma_handle_t handle, uint_t burstsizes); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). PARAMETERS
handle The handle filled in by a call to ddi_dma_alloc_handle(9F). burstsizes The possible burst sizes the device's DMA engine can accept in 64-bit mode. DESCRIPTION
ddi_dma_set_sbus64() informs the system that the device wishes to perform 64-bit data transfers on the SBus. The driver must first allocate a DMA handle using ddi_dma_alloc_handle(9F) with a ddi_dma_attr(9S) structure describing the DMA attributes for a 32-bit transfer mode. burstsizes describes the possible burst sizes the device's DMA engine can accept in 64-bit mode. It may be distinct from the burst sizes for 32-bit mode set in the ddi_dma_attr(9S) structure. The system will activate 64-bit SBus transfers if the SBus supports them. Other- wise, the SBus will operate in 32-bit mode. After DMA resources have been allocated (see ddi_dma_addr_bind_handle(9F) or ddi_dma_buf_bind_handle(9F)), the driver should retrieve the available burst sizes by calling ddi_dma_burstsizes(9F). This function will return the burst sizes in 64-bit mode if the system was able to activate 64-bit transfers. Otherwise burst sizes will be returned in 32-bit mode. RETURN VALUES
ddi_dma_set_sbus64() returns: DDI_SUCCESS Successfully set the SBus to 64-bit mode. DDI_FAILURE 64-bit mode could not be set. CONTEXT
ddi_dma_set_sbus64() can be called from user, kernel, or interrupt context. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |SBus | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5), ddi_dma_addr_bind_handle(9F), ddi_dma_alloc_handle(9F), ddi_dma_buf_bind_handle(9F), ddi_dma_burstsizes(9F), ddi_dma_attr(9S) NOTES
64-bit SBus mode is activated on a per SBus slot basis. If there are multiple SBus cards in one slot, they all must operate in 64-bit mode or they all must operate in 32-bit mode. SunOS 5.11 1 Jan 1997 ddi_dma_set_sbus64(9F)
All times are GMT -4. The time now is 02:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy