apple
January 12, 2011, 1:20pm
1
Hello,
I got the error message during building ROOT on my laptop.
The system is MacOSX 10.4.11 on MBP3.1(intel)
with
Xcode v.2.5,
X11 1.1 - XFree86 4.4.0
gcc version 4.0.1 (Apple Computer, Inc. build 5370)
I did
svn co root.cern.ch/svn/root/trunk root
cd root
./configure macosx
make
And got the error message
XrdOucFactoryBonjour.cc:322: error: invalid conversion from ‘void ()(_DNSServiceRef_t , DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const unsigned char*, void*)’ to ‘void ()(_DNSServiceRef_t , DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const char*, void*)’
XrdOucFactoryBonjour.cc:322: error: initializing argument 7 of ‘DNSServiceErrorType DNSServiceResolve(_DNSServiceRef_t**, DNSServiceFlags, uint32_t, const char*, const char*, const char*, void ()(_DNSServiceRef_t , DNSServiceFlags, uint32_t, DNSServiceErrorType, const char*, const char*, uint16_t, uint16_t, const char*, void*), void*)’
make[5]: *** […/…/obj/XrdOucFactoryBonjour.o] Error 1
make[4]: *** [Darwinall] Error 2
make[3]: *** [all] Error 2
make[2]: *** [XrdOuc] Error 2
make[1]: *** [all] Error 2
*** Error condition reported by make (rc = 2):
make: *** [net/xrootd/src/xrootd/LastBuild.d] Error 1
I don’t know if I did something wrong during the building.
I’ll really appreciate the help!
Thanks!
rdm
January 13, 2011, 9:48am
2
Hi,
Tiger will soon not be maintained anymore. Please move forward to 10.6. For the time being to compile ROOT without xrootd do:
./configure --disable-xrootd
Cheers, Fons.
apple
January 13, 2011, 10:40am
3
Thanks a lots, really appreciate it!
It works now, I’ll consider to upgrade my OS.
BTW, before running ROOT, I need to type one more command to make it work.
export DISPLAY=localhost:0.0
rdm
January 13, 2011, 10:58am
4
Yes and that last command is also not needed anymore on >= 10.5. There were a lot of improvments to make X11 behave transparently.
Cheers, Fons.