Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 1997 17:19:02 +1000 (EST)
From:      David Conran <lucifer@maths.uq.oz.au>
To:        freebsd-current@freebsd.org
Subject:   another problem in "make world"
Message-ID:  <199701100719.RAA19180@qed.maths.uq.edu.au>

next in thread | raw e-mail | index | archive | help
I have only recently sup'd the current kernel ... and did a "make world"
it died in:
------------------------------------------------------------------------------
cd /usr/src/lib/csu/i386 && make depend &&  make -DNOMAN -DNOPROFILE all install cleandir obj
rm -f .depend
mkdep -O -DLIBC_SCCS -fno-omit-frame-pointer   -DCRT0 -DDYNAMIC /home/src/lib/csu/i386/crt0.c
mkdep -a -O -DLIBC_SCCS -fno-omit-frame-pointer   /home/src/lib/csu/i386/c++rt0.c
cc -O -DLIBC_SCCS -fno-omit-frame-pointer   -c -DCRT0 -DDYNAMIC /home/src/lib/csu/i386/crt0.c -o crt0.o
In file included from /home/src/lib/csu/i386/crt0.c:44:
/usr/include/link.h:187: conflicting types for `dlopen'
/usr/include/dlfcn.h:41: previous declaration of `dlopen'
/usr/include/link.h:189: conflicting types for `dlsym'
/usr/include/dlfcn.h:42: previous declaration of `dlsym'
*** Error code 1

Stop.
------------------------------------------------------------------------------
This was compiled on an old-ish 2.2 snap.

I went into the /usr/src/lib/csu/i386 ...
and did a make clean;make depend; make
and it did the same thing
but ...
I looked at the Makefile there ...
and tried ... "make beforeinstall"
and now it works.
ie.
install -C -o bin -g bin -m 444 /usr/src/lib/csu/i386/dlfcn.h  /usr/include

um .. is the "make beforeinstall" not being called somewhere in the
"make world" for this lib?

David
-- 
 _--_|\  David Conran,                       Voice: +61-7-3365-3254
/      * Systems Administrator               Fax:   +61-7-3365-1477
\_.--._/ Department of Mathematics,          Email: lucifer@maths.uq.edu.au
      v  The University of Queensland, 4072 "Reach out and grep someone"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701100719.RAA19180>