03-10-2010
Custom libraries possible on AIX 4.2 ?
I had started writting my own custom libraries on an AIX 4.2. Before finishing, I wanted to do a very simple test. So I wrote the followings:
test.sh#!/bin/ksh
. testlib.sh
ZZ=testz "aa" "bb"
echo "$ZZ"
exit 0
testlib.shtestz () {
return "$1$2"
}
When I ran my test.sh, I got an error message saying :
test.sh[3]: aa: not found.
According to my book where I read about creating custom libraries, this should work. Are custom libraries allowed on AIX 4.2 or did I understood wrong about how to do it ?
10 More Discussions You Might Find Interesting
1. Programming
I am compiling code which produces .a and .la libraries. How can I produce .so libraries? I know that gcc -shared does but how? (2 Replies)
Discussion started by: thalex
2 Replies
2. Programming
I can not locate package sys/mkdev.h on HP-UX or Linux. Is it a special package or something? (9 Replies)
Discussion started by: laila63
9 Replies
3. IP Networking
How is Libnet and libpcap are useful in sending a packet through DLL layer
and sniff network layer?
and how sinffers are used to track ip adresses provided Mac adresses? (1 Reply)
Discussion started by: netsavy
1 Replies
4. AIX
Hi All,
I'm facing the following issue with my shared libraries in AIX.
memory related calls such as memset, memcpy, malloc etc are failing miserably.
there is something wrong with stack/memory which i can't guess.
i've used the following flags to build my libraray:
ld -G... (0 Replies)
Discussion started by: abhinav05252
0 Replies
5. UNIX for Dummies Questions & Answers
I am slowly ploughing my way through the list of links to on-line tutorials you provided to newbies. I for one am grateful for such a comprehensive list, so first of all thank you for that.
What i cannot seem to find, is information on C++ libraries:
The two links on libraries in your list... (0 Replies)
Discussion started by: pil888
0 Replies
6. Shell Programming and Scripting
Hello,
I need to use two different libraries like /usr/local/bin/expect and /usr/bin/ksh at the same script. Is it possible? (4 Replies)
Discussion started by: fozay
4 Replies
7. AIX
I have created a .bff package for an app to tbe installed on AIX servers across regions. I am pretty new to the AIX mode of packaging using mkinstallp but I have been able to get the same done. I installed the same on the server in which i created the package and the application was deployed... (9 Replies)
Discussion started by: jobbyjoseph
9 Replies
8. Programming
I'm a rookie to C and i'm looking for some libraries to learn,something likes the C++ STL or Boost ,does any1 can tell me some of them?Thanks a lot:)
Eric (3 Replies)
Discussion started by: homeboy
3 Replies
9. AIX
Hello guys, I have a trouble when running an application in AIX, I've compiled and the
LIBRARY_PATH seems ok, but I get the following message:
rtld: 0712-001 Symbol __pthread was referenced
from module main_app(), but a runtime definition
of the symbol was not found
ldd... (4 Replies)
Discussion started by: edgarvm
4 Replies
10. AIX
In my .profile, my prompt is set like this:
set -o vi
PS1=`logname`@`hostname -s`:'$PWD>'
Is there a way to show what the history number would be of the command I'm typing in the prompt? For example, I frequently run commands then run 'history' to pull up the history number of a command... (2 Replies)
Discussion started by: ptrotter
2 Replies
LEARN ABOUT DEBIAN
gstreamer::event::custom
GStreamer::Event::Custom(3pm) User Contributed Perl Documentation GStreamer::Event::Custom(3pm)
NAME
GStreamer::Event::Custom - Structure describing events that are passed up and down a pipeline
METHODS
GstEvent = GStreamer::Event::Custom->new ($type, $structure)
o $type (GStreamer::EventType)
o $structure (GStreamer::Structure)
ENUMS AND FLAGS
enum GStreamer::EventType
o 'unknown' / 'GST_EVENT_UNKNOWN'
o 'flush-start' / 'GST_EVENT_FLUSH_START'
o 'flush-stop' / 'GST_EVENT_FLUSH_STOP'
o 'eos' / 'GST_EVENT_EOS'
o 'newsegment' / 'GST_EVENT_NEWSEGMENT'
o 'tag' / 'GST_EVENT_TAG'
o 'buffersize' / 'GST_EVENT_BUFFERSIZE'
o 'sink-message' / 'GST_EVENT_SINK_MESSAGE'
o 'qos' / 'GST_EVENT_QOS'
o 'seek' / 'GST_EVENT_SEEK'
o 'navigation' / 'GST_EVENT_NAVIGATION'
o 'latency' / 'GST_EVENT_LATENCY'
o 'step' / 'GST_EVENT_STEP'
o 'custom-upstream' / 'GST_EVENT_CUSTOM_UPSTREAM'
o 'custom-downstream' / 'GST_EVENT_CUSTOM_DOWNSTREAM'
o 'custom-downstream-oob' / 'GST_EVENT_CUSTOM_DOWNSTREAM_OOB'
o 'custom-both' / 'GST_EVENT_CUSTOM_BOTH'
o 'custom-both-oob' / 'GST_EVENT_CUSTOM_BOTH_OOB'
SEE ALSO
GStreamer
COPYRIGHT
Copyright (C) 2005-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See GStreamer for a full notice.
perl v5.14.2 2012-03-01 GStreamer::Event::Custom(3pm)