From: Ray Bengen (ray_at_bengen.com)
Date: Wed Jun 07 2000 - 09:51:19 BST
Compiling with Sun WorkShop 4.2 on Solaris 2.6. I'm trying to compile this code
as I am having a problem running with the released code on 2.6. The problem
I'm having is as follows. I compile a simple C program using a linked library
also compiled with C, and when I run the program I don't get any symbols on
the screen. If I select the source file directly, I get the source listing,
but all breakpoints seem to happen elsewhere when executed. I hope I've made
myself clear. Any help would be appreciated.
Thanx in advance, Ray
------------------------
/xenv/C/sun4/4.2/5.6/sun4cc -c -g -DHAVE_CONFIG_H -I. -I/usr/include
-Idevelhdrs ./printf.c
/xenv/C/sun4/4.2/5.6/sun4cc -c -g -DHAVE_CONFIG_H -I. -I/usr/include
-Idevelhdrs ./config.c
/xenv/C/sun4/4.2/5.6/sun4cc -c -g -DHAVE_CONFIG_H -I. -I/usr/include
-Idevelhdrs ./ups.c
/xenv/C/sun4/4.2/5.6/sun4cc -c -g -DHAVE_CONFIG_H -I. -I/usr/include
-Idevelhdrs ./cc.c
"./cx_libfuncs.h", line 86: identifier redeclared: setlinebuf
current : function(pointer to char, pointer to struct timeval
{long tv_sec, long tv_usec}) returning int
previous: function(pointer to struct {int _cnt, pointer to uchar
_ptr, pointer to uchar _base, uchar _flag, uchar _file}) returning int :
"/usr/include/stdio.h", line 241
cc: acomp failed for ./cc.c
*** Error code 2
make: Fatal error: Command failed for target `cc.o'
Current working directory /home/rbi/ups-3.35-beta10/ups
*** Error code 1
make: Fatal error: Command failed for target `ups'
This archive was generated by hypermail 2.1.4 : Wed Feb 13 2002 - 21:51:33 GMT