On 03/31/13 01:52, Jon Trulson wrote: > > I've gone ahead and applied this, though it does not build on Kubuntu > 11.10 i386 (hardware) or a Ubuntu 12.4.1 amd64 (VirtualBox VM). > > I get this on the Kubuntu 11.10: > > =-================================== > > + iffe set cc gcc -g -pipe -O2 -fno-strict-aliasing > '-DPROFILEPATH="/etc/dt/confi\ > g/profile"' '-DSUIDPROFILEPATH="/etc/dt/config/suid_profile"' > '-DSUIDEXECPATH="/u\ > sr/dt/bin/suid_exec"' '-DCDE_INSTALLATION_TOP="/usr/dt"' -Dlinux > -D__i386__ -D_PO\ > SIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DANSICPP -DMULTIBYTE -DNLS16 > '-DOSMAJORV\ > ERSION=3' '-DOSMINORVERSION=0' -I. : run features/limits.c In file > included from ./FEATURE/unistd.lcl:7:0, > from ./8181.c:107: > /usr/include/i386-linux-gnu/bits/unistd.h:21:3: error: #error "Never > include <bit\ > s/unistd.h> directly; use <unistd.h> instead."
This is very astonishing to me as I thought to have solved it already. A patch against it should be included (for snipiffe.sh). For a test I've setup a new VM with Kubuntu 11.10 and it works for me. I'm wondering now whether the patch for snipiffe.sh has been correctly applied in your build tree. And how does line 7 of ./FEATURE/unistd.lcl look like? It should include something like /usr/include/unistd.h. A path with 'bits' in it is wrong. > =-================================== > > > On an Ubuntu 12.04.1 LTS amd64 system, I get different errors > (getcwd.c) + many hundreds of warnings (redefinition of various > __STDC_* macros). > > However, it does complete the above iffe command successfully. > Interesting. Both systems have ksh 93u-1 installed. I've also setup a new VM for Ubuntu and again it works. So it's hard for me to analyze it. But a build log of dtksh could be helpful. -- Ulrich Wilkens Email: m...@uwilkens.de ------------------------------------------------------------------------------ Own the Future-Intel(R) Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2 _______________________________________________ cdesktopenv-devel mailing list cdesktopenv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel