Compile warnings and errors.

"Steven Tower" <[email protected]> Mon, 6 May 2002 14:02:46 -0400
Newsgroups gmane.linux.ngpt.user
Message-ID <016801c1f528$3ac26580$1400000a@towerpc>
I am getting the following compile warnings on both my boxes that I have
tried installing ngpt on.

This happens with a Redhat 7.2 box and a Mandrake 8.2 box.

[root@localhost ngpt-1.2.2]# make
./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_attr.c
In file included from pth_attr.c:29:
pth_p.h.in:167:1: warning: "pth_get_native_descr" redefined
_ON_THE_FLY_:109:1: warning: this is the location of the previous definition
pth_p.h.in:169:1: warning: "pth_get_current" redefined

When I try rpm --rebuild rpmsource I get the following error.

gcc -c -I. -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffas
t-math -fno-strength-reduce -funroll-loops -fstrength-reduce -fomit-frame-po
inter -ffast-math -malign-functions=4 -malign-jumps=4 -malign-loops=4
test_pthread.c
gcc -c -I. -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffas
t-math -fno-strength-reduce -funroll-loops -fstrength-reduce -fomit-frame-po
inter -ffast-math -malign-functions=4 -malign-jumps=4 -malign-loops=4
test_common.c
./libtool --mode=link --quiet gcc  -o test_pthread test_pthread.o
test_common.o libpthread.la -lnsl
.libs/libpthread.so: undefined reference to `pthread_initialize'
.libs/libpthread.so: undefined reference to `pthread_shutdown'
collect2: ld returned 1 exit status
make: *** [test_pthread] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.49142 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.49142 (%build)

Steven