Sponsored Content
Top Forums Programming Errors while Compiling a PC script. Post 91319 by musavir19 on Thursday 1st of December 2005 03:27:19 AM
Old 12-01-2005
Errors while Compiling a PC script.

Hi all,

I have created a post-C (PC) script OrdItmpopulate.pc. When I am compiling this using the “Make” command I am getting the following error. My “make” command looks like this:



make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=OrdItmpopulate8.exe OBJS="OrdItmpopulate8.o" exfcns.c PROCFLAGS="MODE=ANSI" CC="c89" CFLAGS="shell_flags_compiler_hp"



“msg_open” is a function declared in exfcns.c which is #included in my PC script.

The .o file is getting created and the exe file is also getting created but it is not executing.



The compile time error is:



c89 -o OrdItmpopulate8.exe OrdItmpopulate8.o -L/u01/app/oracle/dev/produ

ct/8.1.7/lib/ -lclntsh `cat /u01/app/oracle/dev/product/8.1.7/lib/sysliblist`

-lm -lpthread -lpthread

/usr/ccs/bin/ld: Unsatisfied symbols:

msg_open (first referenced in OrdItmpopulate8.o) (code)

ex_is_spaces (first referenced in OrdItmpopulate8.o) (code)

ex_set_ifile_decimal_from_part (first referenced in OrdItmpopulate8.o) (code)

ex_set_decimal_part_from_part (first referenced in OrdItmpopulate8.o) (code)

ex_string_part_value (first referenced in OrdItmpopulate8.o) (code)

program_return_code (first referenced in OrdItmpopulate8.o) (data)

terminating_flag (first referenced in OrdItmpopulate8.o) (data)

ex_operators (first referenced in OrdItmpopulate8.o) (code)

ex_set_generic_char_from_part (first referenced in OrdItmpopulate8.o) (code)

ex_set_part_from_ifile (first referenced in OrdItmpopulate8.o) (code)

ex_arithmetic (first referenced in OrdItmpopulate8.o) (code)

ex_keyword (first referenced in OrdItmpopulate8.o) (code)

ex_set_varstr_part_from_part (first referenced in OrdItmpopulate8.o) (code)

ex_set_ifile_integer_from_part (first referenced in OrdItmpopulate8.o) (code)

ex_init_chbuf (first referenced in OrdItmpopulate8.o) (code)

ex_set_part_from_long (first referenced in OrdItmpopulate8.o) (code)

ex_reuse_chbuf (first referenced in OrdItmpopulate8.o) (code)

ex_set_integer_part_from_part (first referenced in OrdItmpopulate8.o) (code)

ex_keyword_zero_num (first referenced in OrdItmpopulate8.o) (data)

msg_write_msg (first referenced in OrdItmpopulate8.o) (code)

msg_terminate (first referenced in OrdItmpopulate8.o) (code)

ex_keyword_space (first referenced in OrdItmpopulate8.o) (data)

*** Error exit code 1



Stop.



Please help me in this as soon as possible.
 

10 More Discussions You Might Find Interesting

1. Programming

Compiling Errors -- Symbol referencing

I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected?? The command line looks like this:-------------------------------------------- # cc ftpstock.c -lftp... (5 Replies)
Discussion started by: spotanddot
5 Replies

2. UNIX for Dummies Questions & Answers

errors compiling gcc 4.2.1

Hello, I have never had a successful compile on the 2.6 kernel. On every arch in which I try to compile gcc I get either "i686-pc-cygwin-ar command not found or "i686-suse-linux-ar command not found. This always happens during the make process after configure checks for ar and finds it's just ar.... (2 Replies)
Discussion started by: kwa71
2 Replies

3. HP-UX

errors while compiling c++ module

hello everyone, here i attempting to compile a c++ module . I am using the following command make -d dummyCHARGP. i am using the gcc compiler .my os is HP-UX 11.11. here i am getting the following errors. errors: ======= /swtemp/usbs/cc/unix-ce/root/subsys/include/main.h:146:... (1 Reply)
Discussion started by: mannam srinivas
1 Replies

4. Solaris

Errors compiling Bind

Hi all, Apologies if this is the wrong forum for this question, if it is, could some one point me to the right one please. I am trying to compile bind-9.5.1b1 on Solaris 10 Get the error when try to configure: checking for OpenSSL library... using OpenSSL from /usr/local/lib and... (5 Replies)
Discussion started by: callmebob
5 Replies

5. UNIX for Dummies Questions & Answers

Custom kernel compiling, won't boot, and errors.

First of all, I'd like to preface this post by relaying that I have considerable experience with FreeBSD but I'm a Linux newb. I've been attempting to compile linux-2.6.29.3 from source and I'm having some problems and have a few newb questions... a) First of all, my kernel won't boot, it fails... (0 Replies)
Discussion started by: urbanriot
0 Replies

6. Shell Programming and Scripting

Compiling Shell script

I want to compile a shell script so that anyone can run it on any linux platform without being able to view its content. Is there any way to do this? Thanks in advance ---------- Post updated at 12:00 PM ---------- Previous update was at 11:35 AM ---------- shc creates a stripped binary ... (2 Replies)
Discussion started by: proactiveaditya
2 Replies

7. Shell Programming and Scripting

Compiling to shell script

I have the following lines of script to run sequentially(i.e one after the other as arranged). how can I compile it to one shell script of the form DATABASE.sh awk '$2~/eaw/{BSC=$3}{print BSC,$0}' RXMOP.log | grep GSM | awk '{print $1,$2,$3,$5}'>TX.data sed 's/RXOTX/RXORX/g' TX.data>RX.data sed... (4 Replies)
Discussion started by: aydj
4 Replies

8. OS X (Apple)

FFMPEG install on 10.4.11, errors compiling and also using port

i've got an older white macbook running 10.4.11. about 5 years old i think. trying to install ffmpeg in 2 different ways. having errors on both. first tried this one: ffmpeg installation on Mac OSX and i got this error when i got down to "make" on the ffmpeg itself make(350) malloc: ***... (1 Reply)
Discussion started by: danpaluska
1 Replies

9. Shell Programming and Scripting

Need Help writing Bulk-Compiling Script

I'm trying to write a script that can compile my students' homework submissions in bulk. My students' c code is buried in a file path that looks like this: ./Homework\ X/Doe, John/Submission\ Attachments Where I'm struggling is determining how to navigate to each of the submission attachment... (11 Replies)
Discussion started by: GingerGiant
11 Replies

10. Red Hat

How to solve compiling handbrake errors?

Hello friends, Am trying to compile and build Handbrake 0.9.9 on my redhat box but getting the below errors. Same errors when I compile the source from github and also from the official web site. # uname -a Linux blah.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64... (0 Replies)
Discussion started by: prvnrk
0 Replies
KLDFIRSTMOD(2)                                                BSD System Calls Manual                                               KLDFIRSTMOD(2)

NAME
kldfirstmod -- return first module id from the kld file specified LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/param.h> #include <sys/linker.h> int kldfirstmod(int fileid); DESCRIPTION
The kldfirstmod() system call returns the module id pertaining to the first module referenced by fileid. RETURN VALUES
The kldfirstmod() will return the id of the first module referenced by fileid or 0 if there are no references. ERRORS
[ENOENT] The kld file referenced by fileid was not found. SEE ALSO
kldfind(2), kldload(2), kldnext(2), kldstat(2), kldsym(2), kldunload(2), modfind(2), modfnext(2), modnext(2), modstat(2), kld(4), kldstat(8) HISTORY
The kld interface first appeared in FreeBSD 3.0. BSD March 3, 1999 BSD
All times are GMT -4. The time now is 05:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy