Re: FVWM: FVWM2.0.39 gcc compilation and linking on Sun-OS 4.1.4

From: Charles Hines <>
Date: Thu, 1 Feb 1996 11:56:11 -0500

>>>>> "Jan-Erik" == Jan-Erik Borg <jeb_at_sehaf.abb.se> writes:

Jan-Erik> Hello!

Jan-Erik> When linking FVWM2.0.39 using gcc on Sun-OS 4.1.4 with
Jan-Erik> Openwindows 3.0 I get an "Undefined symbol _basename" fatal
Jan-Erik> error message from ld, which then exits. (For details see
Jan-Erik> below.)

Jan-Erik> Question: Does any one have an idea how I can avoid this?

Edit fvwm.c and remove the call to basename(). Or pick up 2.0.40
where it's already removed (and deal the missing 'XLoadQuery...'
problem that might happen by applying the patch below).

Jan-Erik> There is a similar problem for module FvwmPrompt, shown at
Jan-Erik> the end.

It looks like -lm is missing from the link line, for some unknown
reason. I wouldn't worry about it though - use FvwmForm instead.
I'll probably be removing FvwmPrompt in the next release, since
FvwmForm has similiar function, but is more powerful and aesthetically
pleasing.

Jan-Erik> (I'm more or less a novice in X, C and Unix programming, so
Jan-Erik> the issue might be silly. I just don't have any more
Jan-Erik> experiended person available locally.)

Well, that's one reason why this list exists.

Chuck
--
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Thu Feb 01 1996 - 10:56:47 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST