[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

748.0. "Xwindows/cursesX calloc conflict" by GILMOR::TESTA () Tue May 09 1989 13:02

A 3rd proty porting to Ultrix wants to perserve there CURSES code and take
advantage of Xwindows. The following error occured when they compile and
link there program.

/lib/libc.a(calloc.o) calloc: multiply defined.


T.RTitleUserPersonal
Name
DateLines
748.1Fixed in UWS 2.1, I thinkFLUME::dikeTue May 09 1989 13:534
If they're running 2.0, the release notes contain instructions to fix
this problem.
				Jeff

748.2GILMOR::TESTAWed May 10 1989 17:373
I looked in the release notes and made a test case with my own calloc function.
It did not fix the problem.  

748.3Do they have their own version of malloc?ENXIO::thomasThe Code WarriorWed May 10 1989 18:022
If so, have them create there own version of calloc and cfree as well.

748.4GILMOR::TESTAWed May 10 1989 18:1914
I did find the information in the release note for V2.1.

I tried the following on my test program, and did not get the conflict.   

 ar x /lib/libc.a calloc.o 
 cc program.c calloc.o -lX11    and I added -lcursesX



Hoepfully this  will fix ther problem.

Thanks