I'd like to ask if someone has successfully compiled UPX/UCL. I have spent several hours trying everything, and following the instructions, and whereas UCL compiled fine, it fails for UPX.
As it seems I didn't download C++ in my old DJGPP distro, I updated with a minimal distro, set all the env vars as appropriate, but make fails due mainly to errors of file not found and others. I send a transcript below in case someone is interested.
I would appreciate much if someone out there has managed to compile it, because I have a release pending that I'd need to do the soonest, and I'd like to use UPX/UCL if available.
Also frankly I don't like to spend several more hours trying to review/patch makefiles or header files to see where it crashes, and what wasn't include or whatever, specially because I am quite upset that some of those that I have corrected where due to things such as using SYSLIMITS.H not being present (it was SYSLIMIT.H, I guess that to follow DOS 8.3 filename convenction, and makes me wonder how the authors managed to downloaded a DJGPP distro and compiler it themselves?), and many more like this.
And specially because I will never understand why there isn't a binary release of a program that would be otherwise open source and quite useful in itself.
I don't have any moral/legal problems with current licensing of my programs (that I shall probably enforce it to be GNU-GPL 2.X, until I have read GPL 3.0 well) and packers, because of the arguments shown in this list, for me the most convincing where Steffen's.
But anyway, and in order to avoid discrepancies, I'd like to use UPX/UCL if available (please send a DOS/Win32 executable to me with private mail).
If noone seems to have it (I guess that by tomorrow everybody has read the list), I'll do the release with the downloadable UPX.
Regards...
Aitor
=====
G:\upx-1.24\src>g:\djgpp\bin\make target=djgpp2
gcc -march=i386 -mcpu=i586 -DWITH_UCL -Ig:/ucl-1.02/include -Werror -Wall -W
-Wcast-align -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wwrite-s
trings -O2 -fno-strict-aliasing -Wsynth -fconserve-space -o compress.o -c
compress.cpp
In file included from conf.h:537,
from compress.cpp:29:
stdcxx.h:78:21: exception: No such file or directory (ENOENT)
In file included from stdcxx.h:80,
from conf.h:537,
from compress.cpp:29:
g:/djgpp/lang/cxx/3.33/new:42:21: exception: No such file or directory (ENOENT)
In file included from stdcxx.h:80,
from conf.h:537,
from compress.cpp:29:
g:/djgpp/lang/cxx/3.33/new:54: error: parse error before `{' token
g:/djgpp/lang/cxx/3.33/new:59: error: destructors must be member functions
g:/djgpp/lang/cxx/3.33/new:59: error: virtual outside class declaration
g:/djgpp/lang/cxx/3.33/new:82: error: parse error before `)' token
g:/djgpp/lang/cxx/3.33/new:83: error: parse error before `)' token
g:/djgpp/lang/cxx/3.33/new:86: error: parse error before `&' token
g:/djgpp/lang/cxx/3.33/new:86: error: `operator new' takes type `size_t' (`long
unsigned int') as first parameter
g:/djgpp/lang/cxx/3.33/new:87: error: parse error before `&' token
g:/djgpp/lang/cxx/3.33/new:87: error: `operator new' takes type `size_t' (`long
unsigned int') as first parameter
g:/djgpp/lang/cxx/3.33/new:88: error: parse error before `&' token
g:/djgpp/lang/cxx/3.33/new:88: error: `operator delete' takes type `void*' as
first parameter
g:/djgpp/lang/cxx/3.33/new:89: error: parse error before `&' token
g:/djgpp/lang/cxx/3.33/new:89: error: `operator delete' takes type `void*' as
first parameter
g:/djgpp/lang/cxx/3.33/new:99: error: parse error before `}' token
In file included from stdcxx.h:81,
from conf.h:537,
from compress.cpp:29:
g:/djgpp/lang/cxx/3.33/typeinfo:38:21: exception: No such file or directory (ENO
ENT)
In file included from stdcxx.h:81,
from conf.h:537,
from compress.cpp:29:
g:/djgpp/lang/cxx/3.33/typeinfo:136: error: parse error before `{' token
g:/djgpp/lang/cxx/3.33/typeinfo:141: error: destructors must be member
functions
g:/djgpp/lang/cxx/3.33/typeinfo:141: error: virtual outside class declaration
g:/djgpp/lang/cxx/3.33/typeinfo:146: error: parse error before `{' token
g:/djgpp/lang/cxx/3.33/typeinfo:151: error: destructors must be member
functions
g:/djgpp/lang/cxx/3.33/typeinfo:151: error: virtual outside class declaration
g:/djgpp/lang/cxx/3.33/typeinfo:153: error: parse error before `}' token
In file included from conf.h:539,
from compress.cpp:29:
except.h:43: error: `exception' is not a class or namespace
except.h:43: error: invalid base-class specification
except.h:44: error: ISO C++ forbids declaration of `exception' with no type
except.h:44: error: parse error before `;' token
In file included from compress.cpp:29:
conf.h:560: error: parse error before `*' token
make.exe: *** [compress.o] Error 1
======
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
