hi,
I am trying to build a shared libary to overwrite some standard c functions (malloc etc), now i get the following error:
my system is AIX 5.2
so far so good .o file created--> mycfile.o
now building the .a or .so libary (.a or .so ?? i am not sure which file type ist has to be)
Why is he trying to open libmystuff.so.1 ?? he should create it!
Hi Friends !
I have a library, say libxyz.a.
To view all the object files in the archive, i issued the command :
ar -t libxyz.a
which displayed all the object files it contains.
Now, I would like to know the functions in each object file.
Is there any such command that displays... (3 Replies)
How do i make a library shared
say i have a library a.so which i have just compiled.
I want to make it shared how do i make it
Next Queation is what is the difference between a.so.0 a.so.1 a.so.2 & a.so :rolleyes: (1 Reply)
Hi,
I am trying to create shared library. When i run the script to build the library i get these errors
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libgc.so.0: open failed: No such file or directory
ld: fatal: File processing errors. No output written... (0 Replies)
Hi everybody,
Is it possible to create a Shared Filesystem on Network to be accessed from 2 Systems?
Both systems are AIX but with different versions. One of these systems is AIX 4.3 & the other is AIX 5.2.
Thanks in advanced (8 Replies)
I need to create a shared library to access an in memory DB. The DB is not huge, but big enough to make it cumbersome to carry around in every single process using the shared library. Luckily, it is pretty static information, so I don't need to worry much about synchronizing the data between... (12 Replies)
I am writing a shared library in Linux (but compatible with other UNIXes) and I want to allow multiple instances to share a piece of memory -- 1 byte is enough. What's the "best" way to do this? I want to optimize for speed and portability.
Obviously, I'll have to worry about mutual exclusion. (0 Replies)
Hi,
Can someone help me with creating a bash shell script.
I need to create a script that gets a positive number n as an argument.
The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
I am working on project that need shared access to the FS from 2 AIX HACMP nodes.
This FS is created on a SAN disk and the VG that includes this FS is active on node A.
What options do I have so that this FS can also be accessed from Node B ?
We don't have GPFS, so that is not a option.... (3 Replies)
Hello.
I am new to this forum and I would like to ask for advice about low level POSIX programming.
I have to implement a POSIX compliant C shared library.
A file will have some variables and the shared library will have some functions which need those variables.
There is one special... (5 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Here is what I am supposed to do, word for word from my assignment page:
1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies
LEARN ABOUT HPUX
libumem
libumem(3LIB) Interface Libraries libumem(3LIB)NAME
libumem - object-caching memory allocation library
SYNOPSIS
cc [ flag... ] file... -lumem [ library... ]
#include <umem.h>
DESCRIPTION
Functions in this library provide fast, scalable object-caching memory allocation with multithreaded application support. In addition to
the standard malloc(3C) family of functions and the more flexible umem_alloc(3MALLOC) family, libumem provides powerful object-caching ser-
vices as described in umem_cache_create(3MALLOC).
The libumem library also provides extensive debugging support, including detection of memory leaks, buffer overruns, multiple frees, use
of uninitialized data, use of freed data, and many other common programming errors. See umem_debug(3MALLOC).
INTERFACES
The shared object libumem.so.1 provides the public interfaces defined below. See intro(3) for additional information on shared object
interfaces.
calloc free
malloc memalign
realloc umem_alloc
umem_cache_alloc umem_cache_create
umem_cache_destroy umem_cache_free
umem_free umem_nofail_callback
umem_zalloc valloc
FILES
/usr/lib/libumem.so.1 shared object
/usr/lib/64/libumem.so.1 64-bit shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsl (32-bit) |
+-----------------------------+-----------------------------+
| |SUNWcslx (64-bit) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO intro(3), malloc(3C), umem_alloc(3MALLOC), umem_cache_create(3MALLOC), umem_debug(3MALLOC), attributes(5)SunOS 5.10 22 May 2003 libumem(3LIB)