473,774 Members | 2,138 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Comile fails with make: Fatal error: Command failed for target ...

Having got past the 'PCC-F-NOERRFILE, unable to open error message
file, facility PR2' by given 'other' read access to all the files
under ${ORACLE_HOME}/precomp, I'm now stuck with this not very helpful
error message.

I'm trying to use some code that compiles happily with Oracle 8i, but
fails with 10g. The code is for an MQ - Oracle table interface.

I've updated the obvious places in the makefile to use Oracle 10
instead of 8, and I'm using the -m64 option on gcc to try to produce
an executable that will run with Oracle 10, so now I'm stuck.

Here's the makefile. Any suggestions on changes here? ORACLE_HOME is
set correctly. In the meantime, I'll try without the -m64 option and
point to lib32 instead of lib.

#TODO: set up to point to your Roma installation
MQMLIB=/opt/mqm/lib
ORALIB=$(ORACLE _HOME)/lib

#MQMINC=/opt/mqm/include
MQMINC=/opt/mqm/inc
MYINC=../include

#TODO: standard build tools and flags ...
CC=xlC_r
LN=xlC_r
RM=rm -f
AR=ar

C_INCS=-I$(MQMINC) -I$(MYINC)
DEFS=-DTRACE -DOLD_IOSTREAM -DAIX -DDEBUG -DUMI -DNOCDATA

#MQCFLAGS= $(C_INCS) $(DEFS) -qcpluscmt
MQCFLAGS= $(C_INCS) $(DEFS)

#object & library definitions
O=o

include /u01/app/oracle/product/10.2.0.1/precomp/lib/env_precomp.mk
ORACLE8DIR=$(I_ SYM). $(I_SYM)$(PRECO MPHOME)public $(I_SYM)$
(RDBMSHOME)publ ic $(I_SYM)$(RDBMS HOME)demo \
$(I_SYM)$(PLSQL HOME)public $(I_SYM)$(NETWO RKHOME)public
I_SYM=-I
PROCFLAGS= sqlcheck=semant ics userid=smart_76 06/smart_7606 include=$
(MYINC) include=$(MQMIN C)

all: smartmqadapter

smartmqadapter: mq_smart smart_mq

# main targets ...
mq_smart: mq_smart.c
/usr/local/bin/gcc -o -m64 ../bin/mq_smart mq_smart.c $(MQCFLAGS) $
(ORACLE8DIR) -L$(MQMLIB) -L$(ORALIB) -lmqm -lclntsh
$(RM) mq_smart.c

smart_mq: smart_mq.c
/usr/local/bin/gcc -o -m64 ../bin/smart_mq smart_mq.c $(MQCFLAGS) $
(ORACLE8DIR) -L$(MQMLIB) -L$(ORALIB) -lmqm -lclntsh
$(RM) smart_mq.c

mq_smart.c: mq_smart.pc
$(PROC) $(PROCFLAGS) iname=mq_smart. pc

smart_mq.c: smart_mq.pc
$(PROC) $(PROCFLAGS) iname=smart_mq. pc
clean:
-$(RM) *.o

Aug 30 '07 #1
0 1748

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

Similar topics

0
1493
by: Christophe | last post by:
Hello, I'm trying to build python 2.3.4 on Solaris 8 (SunOS 5.8) and I ran into a little problem with the socket/ssl module : ************************************ gcc -shared build/temp.solaris-2.8-sun4u-2.3/_ssl.o -lssl -lcrypto -o build/lib.solaris-2.8-sun4u-2.3/_ssl.so ld: fatal: relocations remain against allocatable but non-writable sections
0
1922
by: Randell D. | last post by:
Folks, I have a number of years with HP Unix and Linux but I've never dipped my toes in to Perl - I currently have SuSE 8.1 at home and am using webmin (www.webmin.com) to update Perl 5.8.0-45 (I've got the version number from rpm --query). I want to apply the ImageMagick module so I can make better use of MoveableType.org's blogger tool. I've cut/pasted the output from the update - I can see the errors but don't know how to resolve...
1
2524
by: lem | last post by:
under solaris: # make Making all in src Making all in engine make: Fatal error in reader: Makefile, line 453: Badly formed macro assignment Current working directory /php-4.3.1/Sablot-0.98/src/engine *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /php-4.3.1/Sablot-0.98/src
2
2287
by: um | last post by:
When the POSIX pthreads library for w32 release 2-2-0 (http://sources.redhat.com/pthreads-win32/) is compiled with VC++6 then it compiles and passes all the benchmark tests in the subdirectory "tests". Also, VC++ 2005 beta 1 compiles the tests fine, but here the following tests fail in execution: # semaphore1.pass \ # condvar2.pass \ # condvar2_1.pass \ # mutex8.pass \
7
5024
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying. I created the websetup and built the MSI, have the bundled version. Copied to webserver and ran Websetup.msi. Said I had to remove old version, which I did, then reran WebSetup.msi and keeps giving me this error. "The installer was interrupted...
4
5650
by: ARF | last post by:
I'm testing AutoCAD 2005 automation via VS2005 Pro C++/CLR and I'm getting fatal compiler errors. I start with a default C++/CLR class library project and modify it by adding the following references: acdbmgd.dll acmgd.dll the entire source for the default library header file is:
1
7149
by: QLD_AU | last post by:
Has anyone see the following error ? VS 2005 Installs ok, however the SQL Mobile Edition (part of a full install) fails with the following error ? With Thanks Jason
8
10696
by: Seeker | last post by:
Hello, In using Solaris Pro Compiler to compile Pro*C code. I am getting this error: make: Fatal error in reader: parser_proc_online.mk, line 26: Badly formed macro assignment Based on other posts, this error is not related to C but related more to my lack of understanding. When I look for line 26 in my make file, it does not correlate to a MACRO assignment. Should I count blank or
8
3741
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not be relevant. On my development machine I build the exe and dll and run the exe which has a reference to the dll. At some point it uses featured in the dll. This works fine. Then I copy my exe and dll to the target system and when the featured...
0
9454
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
10267
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10040
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6717
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
5355
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
5484
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2852
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.