%% Matt Shacklady <matts_at_aethos.co.uk> writes:
Sorry for the delay, I had to leave town on business :(
>> Anyway, you'll have to give more details on your system, such as what
>> compiler you're using, any special config flags you specified, _what_
>> you're trying to link (fvwm2? Some module?); please provide the
ms> apologies for lack of information....hopefully this may help a bit more
ms> I am trying to compile fvwm2.2 ... I'll worry about the modules
ms> whenever I have this brute out the way....
Note it's all the some make command; I was just wondering how far it'd
gotten.
So, essentially, you aren't able to get any fvwm programs to link? Try
running "make -k" and see if _anything_ links (redirect the output to a
log so you can look at it later).
ms> after run the make command this is what it returns.... (this time
ms> without the -v (verbose) option on ld....to save space
ms> gcc -g -O2 -g3 -v -o fvwm2 add_window.o bindings.o borders.o
What is "-g3" for? Did you add that?
ms> builtins.o colormaps.o colors.o complex.o decorations.o events.o
ms> focus.o functions.o fvwm.o fvwmdebug.o icons.o menus.o misc.o
ms> modconf.o module.o move.o placement.o read.o resize.o style.o virtual.o
ms> windows.o -L../libs -v -lfvwm -L/usr/lib/X11R5 -lXext -lX11
ms> Reading specs from /usr/local/lib/gcc-lib/hp821/2.7.0/specs
Hmm... "hp821"? I hate it when people get fancy on installs and
override the default names :). What version of HP-UX are you using? I
wonder if the GCC you have there was compiled for a different version of
HP-UX? That could definitely be a problem.
Have you ever been able to compile and link other apps with this
compiler? Other X apps?
ms> gcc version 2.7.0
ms> /usr/local/lib/gcc-lib/hp821/2.7.0/ld -u main -a archive_shared -B
ms> immediate -o fvwm2 /lib/crt0.o -L../libs -L/usr/lib/X11R5
ms> -L/usr/local/lib/gcc-lib/hp821/2.7.0 -L/usr/local/lib add_window.o
ms> bindings.o borders.o builtins.o colormaps.o colors.o complex.o
ms> decorations.o events.o focus.o functions.o fvwm.o fvwmdebug.o icons.o
ms> menus.o misc.o modconf.o module.o move.o placement.o read.o resize.o
ms> style.o virtual.o windows.o -lfvwm -lXext -lX11 -lgcc -lc -lgcc
ms> /usr/bin/ld: Unsatisfied symbols:
ms> shl_findsym (code)
ms> shl_load (code)
ms> shl_unload (code)
ms> collect2: ld returned 1 exit status
ms> *** Error exit code 1
Well, my only other suggestion is to "man shl_load", etc. and see if you
can figure out from the man page (if there is one) what library these
symbols are supposed to be defined in. If you find out, you can add it
to the link line.
Another way to go is to use nm on all the libs in /lib or /usr/lib and
find the one that defines those functions (see the man page for nm for
details).
--
-------------------------------------------------------------------------------
Paul D. Smith <psmith_at_baynetworks.com> Network Management Development
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
These are my opinions---Nortel Networks takes no responsibility for them.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon May 24 1999 - 12:19:24 BST