1. can you figure out this compile error message?
I am having a problem porting our application to an AT&T system 7000
release 3 machine running SVR4 from a release 2 machine. I have ld problems.
+ uanme -a
SMP_DC.OSx yeti 1.1-93c062 dcosx MIServer-S 2/256 r3000)
I am linking 7 application libraries, 3 JAM libraries, 2 Teradata libraries,
a Sybase library, as well as -lnsl, -lgen and -lm. Our 5 main application
libraries look like this:
# functions lib
----------- ---
595 libPSMF.a
878 libPSMc.a
475 libPSMf.a
13 libPSMg.a
337 libPSMs.a
If I try to compile...
+ /usr/ucb/cc -o prism prism.o prisminst.o \
-Wl,-L.,-L/nsd6/prsmsoft/dex/source/c/db_lib,-L/nsd6/prsmsoft/dex/lib
-lonl
-ldb_lib
-lPSMf
-lPSMg
-lPSMc
-lPSMs
-lPSMF
-Wl,-L/usr/att/JAM/lib
-ljx
-ljm
-lsm
-Wl,-L/usr/sybase/lib
-lsybdb
/usr/att/UTI/lib/ppruntim.a
/usr/att/UTI/lib/libcliv2.a
-lnsl -lgen -lm
ld: ./libPSMF.a: libelf error: Memory error: vm stats elf_begin:
But if I do a small compile:
+ /usr/ucb/cc -o t t.c -Wl,-L.,-L/nsd6/prsmsoft/dex/lib -lPSMF
it works fine so libPSMF seems OK!
If I switch the ordering of the libs I get the same error message on a
different lib (the 7th, no matter what the 7th is).
I tried to combine the 5 libs listed above into one big one and I got an ar
message "Out of memory".
I don't think it is my ulimit, since it is set to 4096000.
I did df -k of /tmp /usr/tmp and $PWD and not of them were even close to full.
It happens whether I use "cc" or "/usr/ucb/cc".
This should be a huge executable. On a System 7000 R2 machine it is:
-rwxr-x--- 1 prsmsoft onlprism 6930432 Nov 19 12:40 prism
Could this size be a problem? It is about 45% bigger the the kernel! I know
it is not a good idea to have such large executables, but we have strong
reasons for doing this (we use JAM which forces you to have one big executable).
Do you have any idea what the error message means? Any help would be
greatly appreciated.
Glenn Robitaille
(908) 457-5072
--
Glenn Robitaille
(908) 457-5072
2. optimal hardware?
3. no one can figure out this error message!
4. Solaris Telnet, how to suppress password entry?
5. Can apache/stronghold log when a user 'click outs' of your site?
6. New XF86Config-4 file help
7. It's not bad canned meat...
8. XFree with a diamond stealth 3D-2000 and AOC CM-337 - xf86conf (1/1)
9. CERN 3.0 - auth setup error - can't figure it out!
10. It's not bad canned meat...
11. Dumb Error I can't Figure OUT
12. System boot error - "Can't figure out who you are."
13. Need documentation for 'ar' command's error messages