02-17-2009
Try to include the -Ae option on the compile line.
e.g. cc -Ae -D FLAG -o OBJ_FILE converter.c
The -Ae option indicates Extended ANSI mode. Same as -Aa -D_HPUX_SOURCE +e.
This would define the names (macros and typedefs) provided by the HPUX
Operating System and, in addition, allow the following extensions: $ characters
in identifier names, sized enums, sized bit-fields, and 64-bit integral type
long long. ( Info From HP Knowledge base...)
10 More Discussions You Might Find Interesting
1. AIX
Hi All,
I am trying to run sqlplus on my AIX 5L box but following errors are thrown:
$ sqlplus
exec(): 0509-036 Cannot load program sqlplus because of the following errors:
0509-130 Symbol resolution failed for /usr/lib/libc.a because:
0509-136 Symbol kaio_rdwr64 (number 0)... (5 Replies)
Discussion started by: run_time_error
5 Replies
2. Programming
Undefined first referenced
symbol in file
std::basic_ostream<char, std::char_traits<char> >::operator<<(int)/var/tmp//ccTR
std::cerr /var/tmp//ccTRcjui.o
std::cout /var/tmp//ccTRcjui.o... (1 Reply)
Discussion started by: suhasini
1 Replies
3. UNIX for Dummies Questions & Answers
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
Discussion started by: Herry
2 Replies
4. Programming
Hey everyone, I can't figure out this symbol referencing error after looking at it for the longest time, and I figured some fresh eyes might be able to point something out I am overlooking.
Undefined first referenced
symbol in... (1 Reply)
Discussion started by: fromatz
1 Replies
5. Programming
Hi, i've compiled my app on x86_64 with -m32 gcc option. Can anybody tell me what is/would typically cause the 'undefined symbol: clock_gettime' error??
-1
k){0N!x y}
'/home/da71336/simon/mkvfh/mkv.so: undefined symbol: clock_gettime
@
"q"
"subr:mkv 2:`subr,3; subc:mkv 2:`subc,1;... (4 Replies)
Discussion started by: dpa078
4 Replies
6. Shell Programming and Scripting
My script is throwing the error 'Syntax error: redirection unexpected'
My line of code..
cat nsstatustest.html | sed s/<tr><td align="left">/<tr><td align="left" bgcolor="#000000"><font color="white">/ > ztmp.Ps23zp2s.2-Fpps3-wmmm0dss3
HTML tags are getting in the way but they're needed to... (3 Replies)
Discussion started by: phpfreak
3 Replies
7. Shell Programming and Scripting
Hello Experts,
I am trying to setup a crontab with 2 jobs but getting the familiar error
0481-079 Reached a symbol that is not expected
I would like to know if the below code is the only way to show a fixed interval. Don't we have something more efficient.
... (2 Replies)
Discussion started by: hkansal
2 Replies
8. Solaris
deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies
9. Programming
I have a C code which i am trying to compile using gcc. When i am trying to compile it i get the error undefined symbol error though i am providing the -l*** option where *** refers to the module where the object files for those symbols are present.
Can someone help me on the same. (4 Replies)
Discussion started by: manaankit
4 Replies
10. Shell Programming and Scripting
Hello,
I have another problem with my script. Please accept my apologies, but I am really nooby in sh scripts. I am writing it for first time.
My script:
returned=`tail -50 SapLogs.log | grep -i "Error"`
echo $returned
if ; then
echo "There is no errors in the logs"
fi
And after... (10 Replies)
Discussion started by: jedzio
10 Replies
LEARN ABOUT OSF1
proplist
proplist(4) Kernel Interfaces Manual proplist(4)
NAME
proplist - The storing, parsing, and retrieving of Extended File Attributes
DESCRIPTION
Tru64 UNIX supports the storing, parsing, and retrieving of Extended File Attributes. An Extended File Attribute is a name and value pair
that is contained in a variable-sized structure called a Property List. A Property List is part of a file's metadata and can contain
abstract name and value pairs (Extended File Attributes) that can be set either by the operating system (for example, ACLs and privileges)
or by a user-level application (for example, PC File Attributes).
Since Extended File Attributes are treated as an extension to a file's metadata, they are synchronously updated, thereby ensuring consis-
tency. Note that Extended File Attributes set by user-level applications are treated as opaque and can be virtually anything.
To ensure that all Property List names are unique, you must register your Property List names with Compaq. Those Property List names with
a prefix are reserved by Compaq. In the case of conflicts, Compaq reserves the right to arbitrate the naming conventions of Property
Lists.
To register a Property List name, send a request by network mail to or write to:
Tru64 UNIX File System Group
ATTN: Property List Administrator
Compaq Computer Corporation
110 Spit Brook Road
Nashua, NH. 03062-2698
M/S ZKO3-3/U14
Several user-level routines, listed in the Related Information section, work together to manipulate Extended File Attributes. For example:
To set attributes, you use the sizeof_proplist_entry(3) and add_proplist_entry(3) routines to initialize the Extended File Attribute buffer
passed to setproplist(3) or fsetproplist(3). To fetch attributes, you use getproplist(3) or fgetproplist(3). To parse the attribute buf-
fer returned by setproplist(3) or fsetproplist(3), use the get_proplist_entry(3) routine.
The format of the Extended File Attributes buffer, the values of the system-wide properties, and the format of the Property List structures
are all defined in sys/proplist.h.
NOTES
Extended File Attributes are supported by the Advanced File System (AdvFS), the UNIX File System (UFS), and the Network File System (NFS).
The latter through the use of the proplistd daemon and the mount -o proplist command.
The archive utilities and support files with Extended File Attributes. However, third-party archive utilities may not support Extended
File Attributes and, consequently, if they are used on files with Extended File Attributes, the Extended File Attributes will be lost.
RELATED INFORMATION
Functions: add_proplist_entry(3), delproplist(3), fdelproplist(3), fgetproplist(3), fsetproplist(3), get_proplist_entry(3), getproplist(3),
setproplist(3), sizeof_proplist_entry(3).
Files: libproplist.a, libproplist.so, sys/proplist.h, acl(4).
Daemons: proplistd(8). delim off
proplist(4)