Menu

#6 storage size unknown complaint OS X

closed
nobody
None
5
2003-02-18
2002-10-23
Anonymous
No

Sorry for the double post,

I'm trying to compile under OS X version10.2 and I get the
following error:

cd goo; make
make[1]: `libGoo.a' is up to date.
cd xpdf; make
g++ -O2 -DHAVE_CONFIG_H -I.. -I./../goo -I. -c FontFile.cc
FontFile.h:27: storage size of `_ZTI8FontFile' isn't known
FontFile.h:46: storage size of `_ZTI13Type1FontFile' isn't known
FontFile.h:67: storage size of `_ZTI14Type1CFontFile' isn't known
FontFile.h:144: storage size of `_ZTI16TrueTypeFontFile' isn't
known
make[1]: *** [FontFile.o] Error 1
make: *** [all] Error 2

Has anyone else had a similar problem?

Discussion

  • H. Chapman

    H. Chapman - 2002-10-29

    Logged In: YES
    user_id=638292

    Yes, I had this problem, here's what I did. I went into all
    of the
    Makefiles, and redefined CC and CXX as follows:

    CC = gcc2
    CXX = g++2

    This uses gcc 2.95.2. I haven't tried the executable, but
    it compiles...

     
  • Nobody/Anonymous

    Logged In: NO

    Hi! I've tried the fix below but I'm still having the problem. I've installed
    all the available developer updates so.... Anyone?

     
  • Brian Brown

    Brian Brown - 2002-12-29

    Logged In: YES
    user_id=328734

    I found a much easier way to get it to compile, rather than
    changing the Makefiles... just do:
    setenv CC gcc2
    setenv CXX g++2
    make

    (assuming your shell is tcsh)

    this compiled and I was able to test it on a pdf file -
    worked as advertised.

    Hope this helps!

     
  • Sam Barnum

    Sam Barnum - 2003-01-14

    Logged In: YES
    user_id=95314

    I have almost the exact same problem.
    Running OS X 10.2.3
    Compiling pdftohtml_0_35
    GCC -v: Apple Computer, Inc. GCC version 1151, based on gcc
    version 3.1 20020420 (prerelease)

    Error:
    g++ -DHAVE_DIRENT_H=1 -I.. -DHAVE_REWINDDIR=1
    -DHAVE_POPEN=1 -I../goo -I. -I../xpdf -c HtmlOutputDev.cc
    HtmlOutputDev.cc:792: warning: default argument given for
    parameter 8 of `
    HtmlOutputDev::HtmlOutputDev(char*, char*, char*, char*,
    char*, char*, int,
    int = 1)'
    HtmlOutputDev.h:200: warning: after previous specification in `
    HtmlOutputDev::HtmlOutputDev(char*, char*, char*, char*,
    char*, char*, int,
    int = 1)'
    HtmlOutputDev.h:185: storage size of `_ZTI13HtmlOutputDev'
    isn't known
    make[1]: *** [HtmlOutputDev.o] Error 1
    make: *** [all] Error 2

     
  • Steffan Cline

    Steffan Cline - 2003-02-08

    Logged In: YES
    user_id=661711

    Same here.. I just posted this to the help forum. -Steffan

     
  • Mikhail Kruk

    Mikhail Kruk - 2003-02-18
    • status: open --> closed
     
  • Mikhail Kruk

    Mikhail Kruk - 2003-02-18

    Logged In: YES
    user_id=173287

    this should work fine in the latest version

     

Log in to post a comment.