ImageMagick Build Issue/Lseek Error
Posted: 2009-05-21T05:33:23-07:00
I recently did a build of ImageMagick on HP-UX, and have been receiving various errors from it when trying to do an image conversion. For example, I get "convert: Insufficient image data in file" when trying to convert a bitmap to a png.
After further investigation with tusc, I have found that an incorrect parameter is being passed to lseek. My guess is that I have done something wrong during the build process, but I don't know quite what. Does anyone have any ideas?
Here's a valid lseek from tusc:
lseek(3, 0, SEEK_CUR) .................................... = 245765
Here's the invalid lseek tusc:
lseek(3, 2063875320, 0x36) ............................... ERR#22 EINVAL
After further investigation with tusc, I have found that an incorrect parameter is being passed to lseek. My guess is that I have done something wrong during the build process, but I don't know quite what. Does anyone have any ideas?
Here's a valid lseek from tusc:
lseek(3, 0, SEEK_CUR) .................................... = 245765
Here's the invalid lseek tusc:
lseek(3, 2063875320, 0x36) ............................... ERR#22 EINVAL