On 06/11/18 02:29, Matthew R. Trower wrote:


I have re-installed Sun Studio (to undo my corrective `touch`ing), and
corrected sun.cf.  The build fails at libCliSrv while attempting to
compile ios.cc into ios.  I've attached the build log, generated
makefile, the results of `make -d`, and the far more verbose results of
`gmake -d`.  You can see especially from gmake that it is indeed
checking the SunCC header files and attempting to rebuild those that
it believes are out of date.

This problem is not specific to libCliSrv, but rather the first place in
which it exhibits itself.  While I have not conducted exhaustive
testing, my various experiences indicate that this happens to me
anywhere makedepend places /opt/solaris/studio/prod/include/CC/Cstd/* in
a Makefile.


Ok, I was able to reproduce the problem on my systems (with the info in the ticket). The problem is as you've described it: make doesn't ignore the depend information in Makefile. And Oracle delivers the source files and the object files of the c++ libraries. If the source files are newer then make tries to recreate the object
files and fails.

I think the best solution is to write the depend info into a separate file and not
into Makefile. Most other platforms are doing it like this anyway.
Fortunately this can be achieved with a simple patch, which I can provide
this evening.


--
Ulrich Wilkens
Email: m...@uwilkens.de


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to