Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Solaris 10 due to void* used to initialize char* #431

Closed
klabattermann opened this issue Nov 2, 2016 · 4 comments
Closed
Assignees

Comments

@klabattermann
Copy link
Member

The build on Solaris 10 is failing in:
[ 4%] Building CXX object src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysLogging.cc.o
"/zpool1/wilko/tmp/xrdbuild/v45/src/XrdSys/XrdSysLogging.cc", line 161:
Error: Cannot use void* to initialize char*.
1 Error(s) detected.
gmake[2]: *** [src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysLogging.cc.o] Error 2

The compiler used is Sun C 5.11 SunOS_i386 2010/08/13. It is failing in all v4 releases. It is not critical for us as we are phasing out all of our Solaris servers and running older versions is fine.
I am wondering if this is something easy to fix or a problem that the platform and compiler are pretty old.

@xrootd-dev
Copy link

Yes, it should have been "char*" and will work just fine everywhere.

Andy

On Wed, 2 Nov 2016, Wilko Kroeger wrote:

The build on Solaris 10 is failing in:
[ 4%] Building CXX object src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysLogging.cc.o
"/zpool1/wilko/tmp/xrdbuild/v45/src/XrdSys/XrdSysLogging.cc", line 161:
Error: Cannot use void* to initialize char_.
1 Error(s) detected.
gmake[2]: *_* [src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysLogging.cc.o] Error 2

The compiler used is Sun C 5.11 SunOS_i386 2010/08/13. It is failing in all v4 releases. It is not critical for us as we are phasing out all of our Solaris servers and running older versions is fine.
I am wondering if this is something easy to fix or a problem that the platform and compiler are pretty old.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
#431

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1

@abh3 abh3 self-assigned this Jan 20, 2017
@abh3 abh3 closed this as completed Jan 20, 2017
@abh3
Copy link
Member

abh3 commented Jan 20, 2017

This has been fixed in 4.6.

@xrootd-dev
Copy link

xrootd-dev commented Sep 12, 2017 via email

@klabattermann
Copy link
Member Author

klabattermann commented Sep 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants