gotomypc / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

'_UKJBLEN' undeclared here (not in a function) #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. CALL QP2TERM
2.  ./configure -build="powerpc-ibmaix5.3.0.0"
3. gmake

What is the expected output? What do you see instead?

Compilation ends with:

/QOpenSys/opt/freeware/bin/../lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/se
tjmp.h:123: error: '_UKJBLEN' undeclared here (not in a function)            
gmake[2]: *** [jpegio.lo] Error 1                                            
gmake[2]: Leaving directory `/QOpenSys/download/leptonica-1.69/src'          
gmake[1]: *** [all-recursive] Error 1                                        
gmake[1]: Leaving directory `/QOpenSys/download/leptonica-1.69'              
gmake: *** [all] Error 2                                                     

What version of the product are you using? On what operating system?

OS/400 V5R4, using PASE for i (equiv. to AIX 5.3 TL3), I'm trying to compile 
leptonica.

Please provide any additional information below.

Per IBM, there are no plans to implement user key support (_UKJBLEN) in PASE 
for i.

Is there a workaround to get this to compile?

Original issue reported on code.google.com by hewhocutsdown on 22 Jan 2013 at 8:25

GoogleCodeExporter commented 9 years ago
This seems to be a problem with the setjmp.h include file used on this system.  
The symbol _UKJBLEN doesn't appear in the gcc setjmp.h file, and of course 
leptonica doesn't call it.

This is the first report of anyone attempting to compile on OS/400.

Original comment by dan.bloo...@gmail.com on 23 Jan 2013 at 1:12

GoogleCodeExporter commented 9 years ago
Okay, here's a variant of the same. This time it's a genuine AIX 5.3 box. 
./configure works, gmake fails, citing a the lack of a jpegio.h, which I've 
noticed is missing in the source package.

Original comment by hewhocutsdown on 11 Feb 2013 at 8:13

GoogleCodeExporter commented 9 years ago
and..the SVN repo has nothing in it, and there are no deprecated versions I 
might steal it from. To the internet!

...

Looks like all the header files it's yelling about are in the jpeg-9 project. 
Could you have maybe omitted that requirement?

Original comment by hewhocutsdown on 11 Feb 2013 at 8:26

GoogleCodeExporter commented 9 years ago
Okay, so the three files that seem to be missing in order to compile are 
jpeglib.h, jconfig.h and jmorecfg.h.

I found copies of jpeglib.h and jmorecfg.h in the jpeg-9 project, and some 
Googling yielded jconfig.h, but I suspect these are not the preferred files for 
compilation.

Original comment by hewhocutsdown on 12 Feb 2013 at 3:00

GoogleCodeExporter commented 9 years ago
Am I correct in assuming that you fixed the problem with the jpeg-9 include 
files?

Original comment by dan.bloo...@gmail.com on 6 Feb 2014 at 3:55

GoogleCodeExporter commented 9 years ago
Honestly, I gave up.

Original comment by hewhocutsdown on 6 Feb 2014 at 5:47

GoogleCodeExporter commented 9 years ago
This may be broken on big-endians; never determined why.  The 32-bit code path 
should work properly on big-endians.  Absence of a red channel indicates that 
it was taking the 32-bit path but the endian setting was wrong 
(L_LITTLE_ENDIAN).

Investigation finished for now.

Original comment by dan.bloo...@gmail.com on 6 Feb 2014 at 11:08