Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
From a customer... Please E-mail me ifyou have an answer. Thanks! Fred ---------- I'd really like to get the XView libraries running under UWS2.1 on our 3200's but I am running into a problem. I get multiple definitions of malloc from libc.a and libX11.a. I ran into the same problem in trying to compile the Andrew Toolkit. That time I just gave up and used the MIT libraries, but I'd rather not this time. What seems to be the problem is that DEC's libX11 has its own set of malloc/free routines which don't include cfree. So, if something referencing cfree links against X11, it gets calloc, etc but then has to search libc.a for cfree and gets a multiply defined function. No real showstopper, but it's a pain. Any ideas on a general solution?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1506.1 | Me too!... | GOLLY::MILLER | Can I have a haircut like Sinead's? | Tue Oct 03 1989 01:07 | 8 |
I just ran into this trying to build Emacs 18.55 on UWS2.1 Please also post here if you have insight to this. Thanks, == ken miller == | |||||
1506.2 | a simple but ugly fix | VMSDEV::BALLOU | It's not slow, it's careful! | Tue Oct 03 1989 14:03 | 10 |
There's a workaround: when you specify your libraries, put the C library at the front of the list, viz.: cc -o foo foo.o bar.o -lc -lX11 This means the C library will be searched twice, but you will pull in the module containing malloc from the C library rather than from the X11 library. - Ken | |||||
1506.3 | This is in the release notes | VOGON::DRUMGOOLE | Hoojah, in the Ooskah ! | Wed Oct 04 1989 17:40 | 2 |