[ptx] libpano12 - build with GNU autoconf, automake and libtool

Bruno Postle bruno at postle.net
Tue Nov 9 15:18:47 GMT 2004


On Tue 09-Nov-2004 at 16:23 +0200, Douglas Wilkins wrote:

> Ignore my last patch :-( Working in the dark without a mac
> This one should be closer

I can get rid of most of the errors if I add various -l flags:

  DAR_LDFLAGS = "-L/usr/lib -L/sw/lib -ltiff -ljpeg -lpng -lz"

Though I don't know where to find the rest of these symbols:

  gcc -g -O2 -o .libs/PTOptimizer PTOptimizer.o  -L/Users/bruno/src/libpano12-2.7.0.7 -L/usr/lib -L/sw/lib -ltiff /sw/lib/libjpeg.dylib -L.. /Users/bruno/src/libpano12-2.7.0.7/.libs/libpano12.dylib -L/usr/local/lib -lpng -lz
  ld: Undefined symbols:
  _FSClose
  _FSRead
  _FSWrite
  _FSpCreate
  _FSpDelete
  _FSpOpenDF
  _CFStringCreateWithPascalString
  _CFURLCreateWithFileSystemPath
  _CFURLGetFileSystemRepresentation
  _CopyCStringToPascal
  _kCFAllocatorDefault
  _FSpRename
  _MyCtoPStr
  _p2cstr
  _setLibToResFile
  _unsetLibToResFile

-- 
Bruno


More information about the ptX mailing list