Eric, et al;
I delete the files
/usr/include/dlfcn.h
/usr/local/include/dlfcn.f
restarted a clean build [from a copy of the m243 sources] it died in
soltools with this error:
Making: ../unxmacxp.pro/obj/checkdll.obj
ccache gcc -fsigned-char -fmessage-length=0 -malign-natural -c -O2 -
fno-strict-aliasing -I. -I../unxmacxp.pro/inc/checkdll -I../inc -
I../inc/pch -I../inc -I../aqua/inc -I../unx/inc -I../unxmacxp.pro/inc -
I. -I/Users/russellm/SRC680_m243/solver/680/unxmacxp.pro/
incdont_use_stl -I/Users/russellm/SRC680_m243/solver/680/unxmacxp.pro/
inc/external -I/Users/russellm/SRC680_m243/solver/680/unxmacxp.pro/inc
-I/Users/russellm/SRC680_m243/solenv/unxmacxp/inc -I/Users/russellm/
SRC680_m243/solenv/inc -I/Users/russellm/SRC680_m243/res -I/Users/
russellm/SRC680_m243/solver/680/unxmacxp.pro/incdont_use_stl -I/System/
Library/Frameworks/JavaVM.framework/Versions/Current/Headers -I/System/
Library/Frameworks/JavaVM.framework/Headers -I/Users/russellm/
SRC680_m243/solver/680/unxmacxp.pro/inc/offuh -I. -I../res -I. -pipe -
fsigned-char -malign-natural -Wall -Wendif-labels -fPIC -fno-common -
DMACOSX -DUNX -DVCL -DGCC -DC341 -DPOWERPC -DCVER=C341 -DGLIBC=2 -
D_PTHREADS -D_REENTRANT -DNO_PTHREAD_PRIORITY -DPOWERPC -DPPC -
DSTLPORT_VERSION=400 -D_USE_NAMESPACE=1 -DHAVE_GCC_VISIBILITY_FEATURE -
DNO_AUDIO -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/
include/c++/4.0.0 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -
DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680 -
DBUILD_OS_APPLEOSX -DBUILD_OS_MAJOR=10 -DBUILD_OS_MINOR=5 -
DBUILD_OS_REV=1 -DQUARTZ -o ../unxmacxp.pro/obj/checkdll.o checkdll.c
checkdll.c:41:19: error: dlfcn.h: No such file or directory
checkdll.c: In function 'main':
checkdll.c:79: warning: implicit declaration of function 'dlopen'
checkdll.c:79: error: 'RTLD_NOW' undeclared (first use in this function)
checkdll.c:79: error: (Each undeclared identifier is reported only once
checkdll.c:79: error: for each function it appears in.)
checkdll.c:79: warning: assignment makes pointer from integer without
a cast
checkdll.c:80: warning: implicit declaration of function 'dlsym'
checkdll.c:85: warning: implicit declaration of function 'dlerror'
checkdll.c:85: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
checkdll.c:95: warning: format '%s' expects type 'char *', but
argument 2 has type 'int'
dmake: Error code 1, while making '../unxmacxp.pro/obj/checkdll.obj'
---* tg_merge.mk *---
and the files I deleted were right back. I'm going to delete them
again and put symlinks to the one in the 10.4u SDK, in their place.
and re-start the build and get back to you. Do you think this will
work?
Russell
On Jan 24, 2008, at 5:18 AM, eric.bachard wrote:
Hi,
Russell McGaha a écrit :
Eric;
After the addition of "--with-epm=internal" things proceded;
unfortunatly they ended with the same error as yesterday.
...
in module: sal, sub module osl/unx
I THIK; it MAY be getting the wrong system.h or dlfcn.h, as I have
several of each [in different path's] on MY system.
Ahhhh .... Yes, and I bet this is in /usr/local/include ....
=> please rename dlfcn.h located somewhere in /usr/local/include. In
fact, you shouldn't need /usr/local/include, nor /usr/local at all
for Aqua build.
Last but not least, I'd suggest you to close the current terminal,
reopen a nexw one and re-source MacOSXPPCSet.Env.sh file , more safe.
Regards,
Eric Bachard
P.S. : please join #ooo_macport IRC channel , and we certainly will
help you more efficiently ( server is irc.freenode.net )
--
qɔᴉɹə
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]