Thread View: gnu.gcc.help
1 messages
1 total messages
Started by Mueller-Pfeiffer, Stefan
Sun, 15 Nov 1992 18:58
undefined symbols with gcc 2.3.1 on SunOS 4.1.1 Rev B
Author: Mueller-Pfeiffer, Stefan
Date: Sun, 15 Nov 1992 18:58
Date: Sun, 15 Nov 1992 18:58
58 lines
2538 bytes
2538 bytes
Hello world,
I have compiled the GNU-C compiler v 2.3.1. on a SparcStation1 running
SunOS 4.1.1 Rev B
During an attempt to compile some programs, I discovered the following
problems with the signals, written down in the following little
program:
------------------------> cut here <-------------------------
#include <signal.h>
main()
{ int x;
x=1 ;
(void) sigsetmask(x) ;
return 0 ;
}
------------------------> cut here <-------------------------
cd /home/muepf/c-prog/
gcc -Wall -v sigtest.c -o sigtest
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/specs
gcc version 2.3.1
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/cpp -lang-c -v
-undef -D__GNUC__=2 -Dsparc -Dsun -Dunix -D__sparc__ -D__sun__
-D__unix__ -D__sparc -D__sun -D__unix -Wall sigtest.c
/usr/tmp/cca05770.i
GNU CPP version 2.3.1 (sparc)
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/cc1
/usr/tmp/cca05770.i -quiet -dumpbase sigtest.c -Wall -version -o
/usr/tmp/cca05770.s
GNU C version 2.3.1 (sparc) compiled by GNU C version 2.3.1.
sigtest.c:4: warning: return-type defaults to `int'
as -o /usr/tmp/cca057701.o /usr/tmp/cca05770.s
ld -e start -dc -dp -o sigtest /lib/crt0.o
-L/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1 -L/usr/local/lib
/usr/tmp/cca057701.o -lgcc -lc -lgcc
/usr/tmp/cca057701.o: Undefined symbol ___sigsetmask referenced from
text segment
Compilation exited abnormally with code 1 at Sat Nov 14 20:38:57
------------------------> cut here <----------------------------
The original SUN lib knows only about '_sigsetmask' but not about
not about '___sigsetmaskb'. Did I miss something crucial ?
Btw, '___sigblock' isnt't found as well.
Please answer rather by mail.
Thank you,
Stefan
Stefan Mueller-Pfeiffer Juelich Research Centre, Germany
BITNET: iff327@djukfa11 Internet: iff327@zam001.zam.kfa-juelich.de
KATZ'S LAW: Man and nations will act rationally when all other
possibilities have been exhausted.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads