Professional Web Applications Themes

Xdefs.h - Sun Solaris

I am trying to build mozilla 1.5rc1 with xft support, and it dies because it cannot find an include file called Xdefs.h . Does anyone know where I might find this file? I am using Solaris 8 SPARC . -- Griff Miller II | | Manager of Information Technology | For every problem, there is a solution | Positron Corporation | that is simple, neat - and wrong. | com | |...

  1. #1

    Default Xdefs.h

    I am trying to build mozilla 1.5rc1 with xft support, and it dies because
    it cannot find an include file called Xdefs.h . Does anyone know where I
    might find this file? I am using Solaris 8 SPARC .

    --
    Griff Miller II | |
    Manager of Information Technology | For every problem, there is a solution |
    Positron Corporation | that is simple, neat - and wrong. |
    com | |
    Griff Guest

  2. #2

    Default Re: Xdefs.h

    On Mon, 29 Sep 2003 09:40:37 -0500 in <com>,
    Griff Miller said something similar to:
    : I am trying to build mozilla 1.5rc1 with xft support, and it dies because
    : it cannot find an include file called Xdefs.h . Does anyone know where I
    : might find this file? I am using Solaris 8 SPARC .

    From the copyright statement at the top of the copy on my Linux box,
    and the fact that it isn't part of the x.org X11R6.6 tree, I'd say
    X11/Xdefs.h is an XFree86 specific header.
    Mike Guest

  3. #3

    Default Re: Xdefs.h

    Mike Delaney wrote: 

    Not only this, but last time I looked, xft required the X11 RENDER (or
    XRENDER ?) server extension, which only made it in Solaris 9 Aug-2003
    (yes, last month!)

    So I doubt there's a way to make this work.
    On the other hand, you can have anti-aliasing work on Solaris 8 sparc
    with freetype... complete step-by-step instructions on how I built this
    is available in the README file at:

    ftp://depot.mcom.com/pub/pioch/mozilla-1.4rc3/README (24 kB!)

    another contributor to this NG, reb from cypress, gave then these
    instructions to enable anti-aliased font:

    Followed essentially the steps in the URL named below. These lines I
    added to user.js in my profile dir, in place of the step 6 described
    in the URL:

    // see http://www.mozilla.org/projects/fonts/unix/enabling_truetype.html
    user_pref("font.FreeType2.autohinted", true);
    user_pref("font.FreeType2.enable", true);
    user_pref("font.directory.truetype.1",
    "/usr/openwin/lib/X11/fonts/TrueType/");
    // Don't aa for fonts below this size (makes them look blurred):
    user_pref("font.antialias.min", 12);


    Hope this helps,
    -- N.

    Nicolas Guest

  4. #4

    Default Re: Xdefs.h

    Nicolas Pioch <com> writes in comp.unix.solaris:
    |Not only this, but last time I looked, xft required the X11 RENDER (or
    |XRENDER ?) server extension, which only made it in Solaris 9 Aug-2003
    |(yes, last month!)

    Actually Render's been in there since Solaris 9 12/02 (yes, last year!) and
    Xft can work without it, just slowly.

    --
    __________________________________________________ ______________________
    Alan Coopersmith calberkeley.org
    http://www.CSUA.Berkeley.EDU/~alanc/ aka: COM
    Working for, but definitely not speaking for, Sun Microsystems, Inc.
    Alan Guest

  5. #5

    Default Re: Xdefs.h

    Alan Coopersmith wrote: 

    It must be very well hidden, then :-)

    I upgraded to Solaris 9 update 3 (April 2003) on an Ultra10 around June,
    and "xdpyinfo" doesn't list anything even loosely related to the word
    'RENDER' in the extensions.
    "xdpyinfo | grep -i render" doesn't display anything.

    The next Solaris 9 release was Solaris 9 Aug-2003 (8/03)
    and the file "what's new in Solaris 9 (8/03)" posted on
    http://docs.sun.com/db/doc/817-0493/6mg9pruaj?a=view

    clearly lists FreeType and XRENDER as new things introduced in this
    release... thus my assumptions.

    -- N.

    Nicolas Guest

  6. Moderated Post

    Default Re: Xdefs.h

    Removed by Administrator
    Griff Guest
    Moderated Post

  7. #7

    Default Re: Xdefs.h

    In article <blbtc6$netscape.com>,
    Nicolas Pioch <com> writes: 
    >
    > It must be very well hidden, then :-)
    >
    > I upgraded to Solaris 9 update 3 (April 2003) on an Ultra10 around June,
    > and "xdpyinfo" doesn't list anything even loosely related to the word
    > 'RENDER' in the extensions.
    > "xdpyinfo | grep -i render" doesn't display anything.
    >
    > The next Solaris 9 release was Solaris 9 Aug-2003 (8/03)
    > and the file "what's new in Solaris 9 (8/03)" posted on
    > http://docs.sun.com/db/doc/817-0493/6mg9pruaj?a=view
    >
    > clearly lists FreeType and XRENDER as new things introduced in this
    > release... thus my assumptions.[/ref]

    Well, if you do have it, it might look something like this:

    $ cat /etc/release
    Solaris 9 8/03 s9s_u4wos_08a SPARC
    Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 13 June 2003
    $ xdpyinfo|grep RENDER
    RENDER


    But if one has patch 113098 (SPARC) (latest is -04) (equivalent x86 is
    113099-01), that (possibly combined with the latest Xsun patch) should
    provide the X RENDER exension. Maybe the person who had RENDER on
    something earlier than 8/03 had that patch installed.

    --
    mailto:smart.net http://www.smart.net/~rlhamil
    Richard Guest

  8. #8

    Default Re: Xdefs.h

    Richard L. Hamilton wrote: 

    Yes, this is what I was looking for.
     

    I certainly don't have any patch installed besides the SunSolve
    "Recommended" patch cluster, and even that I only update every 3 or 6
    months, crossing fingers that it won't up badly... like last time!

    The last time I installed it (around May, on my Solaris 8 vanilla
    install) it caused severe instability and constant CPU panics --
    apparently multiple installs of the Recommended patch cluster set had
    corrupted /etc/power.conf by editing/adding repeatedly the same lines
    and powerd was causing regular CPU panics -- that's why I had to
    reformat and install Solaris 9 from scratch in June/July.

    Nicolas Guest

  9. #9

    Default Re: Xdefs.h

    Nicolas Pioch <com> writes in comp.unix.solaris:
    |Alan Coopersmith wrote:
    |> Nicolas Pioch <com> writes in
    |comp.unix.solaris:
    |> |Not only this, but last time I looked, xft required the X11 RENDER (or
    |> |XRENDER ?) server extension, which only made it in Solaris 9 Aug-2003
    |> |(yes, last month!)
    |> Actually Render's been in there since Solaris 9 12/02 (yes, last year!) and
    |> Xft can work without it, just slowly.
    |
    |It must be very well hidden, then :-)

    The extension and library are present, but the extension won't be
    activated unless the video card DDX module provides the necessary
    support - so far, only m64 does on SPARC.

    --
    __________________________________________________ ______________________
    Alan Coopersmith calberkeley.org
    http://www.CSUA.Berkeley.EDU/~alanc/ aka: COM
    Working for, but definitely not speaking for, Sun Microsystems, Inc.
    Alan Guest

  10. Moderated Post

    Default Re: Xdefs.h

    Removed by Administrator
    Thala Guest
    Moderated Post

  11. #11

    Default Re: Xdefs.h

    Alan Coopersmith wrote: 

    Ok, I think I found why it doesn't show up...
    I'm on a m64 I believe (Ultra 10, 440 MHz version)

    It's simply because I'm running my display in 8-bit mode (24-bit
    performance was unacceptably sluggish at my current resolution last time
    I tried -- besides I'm only doing system administration, I'm not an
    graphist wannabe :-), so obviously the X11 server won't be able to
    perform decent anti-aliasing when you only have 256 colors available,
    and probably doesn't activate the XRENDER extension, thus it doesn't
    show up in xdpyinfo :-)

    Cheers,
    -- N.

    # m64config -prconf

    --- Hardware Configuration for /dev/fbs/m640 ---
    ASIC: version 0x7c004750
    DAC: version 0x0
    PROM: version 104
    Card possible resolutions: 720x400x85, 640x480x60, 640x480x72, 640x480x75
    800x600x56, 800x600x60, 800x600x72, 800x600x75, 1024x768x60
    1024x768x70, 1024x768x75, 1280x1024x75, 1024x768x85, 800x600x85
    640x480x85, 1280x1024x60, 1152x900x66, 1152x900x76, 1280x1024x67
    1600x1280x76, 1920x1080x72, 1280x800x76, 1440x900x76
    1600x1000x66, 1600x1000x76, 1920x1200x70, 1280x1024x85
    1280x1024x76, 1152x864x75, 1600x1200x75, 1600x1200x60
    1024x768x85, 800x600x75, 640x480x85, 1920x1200x60, 1920x1080x60
    vga, svga, 1152, 1280, 800x600, 1024x768, 1280x1024, 1152x900
    1600x1280, 1920x1080, 1600x1000, 1920x1200, 1600x1200
    Monitor possible resolutions: 720x400x70, 720x400x85, 640x480x60
    640x480x67, 640x480x72, 640x480x75, 800x600x56, 800x600x60
    800x600x72, 800x600x75, 832x624x75, 1024x768x87, 1024x768x60
    1024x768x70, 1024x768x75, 1280x1024x75, 1152x900x66, 1152x900x76
    1280x1024x67, 1280x1024x76, 800x600x75, vga, svga, 1152, 1280
    800x600, 1024x768, 1280x1024, 1152x900
    Possible depths: 8, 24
    Current resolution setting: 1280x1024x76
    Current depth: 8

    Nicolas Guest

  12. #12

    Default Re: Xdefs.h

    Thala S wrote: 

    I tried that, but then it died because "Bool" wasn't defined. So I
    copied the typedef of Bool from Xdefs.h on XFree86 CVS, and it got
    her. I'm currently working through that problem.

    Thanks!

    --
    Griff Miller II | |
    Manager of Information Technology | For every problem, there is a solution |
    Positron Corporation | that is simple, neat - and wrong. |
    com | |
    Griff Guest

  13. #13

    Default Re: Xdefs.h

    Nicolas Pioch <com> writes in comp.unix.solaris:
    |It's simply because I'm running my display in 8-bit mode (24-bit
    |performance was unacceptably sluggish at my current resolution last time
    |I tried -- besides I'm only doing system administration, I'm not an
    |graphist wannabe :-), so obviously the X11 server won't be able to
    |perform decent anti-aliasing when you only have 256 colors available,
    |and probably doesn't activate the XRENDER extension, thus it doesn't
    |show up in xdpyinfo :-)

    Yes. XRENDER will only activate if it finds support for pixmaps of
    depth 1, 4, 8, and 32 bits. (All must be present or it will be
    disabled - unless you have the version before the patch that
    enforced this, in which programs could crash since the XRENDER spec
    promises all of those depths will be supported on any Xserver
    advertising XRENDER.)

    --
    __________________________________________________ ______________________
    Alan Coopersmith calberkeley.org
    http://www.CSUA.Berkeley.EDU/~alanc/ aka: COM
    Working for, but definitely not speaking for, Sun Microsystems, Inc.
    Alan Guest

  14. #14

    Default Re: Xdefs.h

    Griff Miller wrote: 
    >
    > I tried that, but then it died because "Bool" wasn't defined. So I
    > copied the typedef of Bool from Xdefs.h on XFree86 CVS, and it got
    > her. I'm currently working through that problem.[/ref]

    OK, now I'm getting:

    CC -o nsFontMetricsXft.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -D_TIME_H=1 -DUSE_POSTSCRIPT -DUSE_XPRINT
    -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../freetype -I./../x11shared -I/usr/local/include/freetype2
    -I/usr/local/include -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget
    -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv
    -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content
    -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/xprintutil -I../../../dist/include/gfx
    -I../../../dist/include -I/usr/local/src/mozilla/dist/include/nspr -I/usr/local/include/freetype2 -I/usr/local/include
    -I/usr/openwin/include -KPIC -I/usr/openwin/include -xbuiltin=%all -mt -DNDEBUG -DTRIMMED -xO4 -I/usr/local/include/gtk-1.2
    -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/openwin/include -I/usr/openwin/include
    -DSOLARIS=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1
    -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1
    -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1
    -DHAVE_SYS_STATFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1
    -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1
    -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_IOS_BINARY=1
    -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_WIDGET_GTK=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_ENABLE_XFT=1
    -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1
    -DMOZ_JSLOADER=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILESHARING=1
    -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1
    -DNS_PRINTING=1 -DMOZILLA_VERSION=\"1.5b\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT nsFontMetricsXft.cpp
    "nsFontMetricsXft.cpp", line 195: Warning (Anachronism): Using void*(*)(void*,unsigned) to initialize extern "C"
    void*(*)(void*,unsigned).
    "nsFontMetricsXft.cpp", line 195: Warning (Anachronism): Using void(*)(void*,void*) to initialize extern "C" void(*)(void*,void*).
    "nsFontMetricsXft.cpp", line 196: Warning (Anachronism): Using PLHashEntry*(*)(void*,const void*) to initialize extern "C"
    PLHashEntry*(*)(void*,const void*).
    "nsFontMetricsXft.cpp", line 196: Warning (Anachronism): Using void(*)(void*,PLHashEntry*,unsigned) to initialize extern "C"
    void(*)(void*,PLHashEntry*,unsigned).
    "nsFontMetricsXft.cpp", line 510: Warning (Anachronism): Formal argument keyHash of type extern "C" unsigned(*)(const void*) in call
    to PL_NewHashTable(unsigned, extern "C" unsigned(*)(const void*), extern "C" int(*)(const void*,const void*), extern "C"
    int(*)(const void*,const void*), const PLHashAllocOps*, void*) is being passed unsigned(*)(const void*).
    "nsFontMetricsXft.cpp", line 510: Warning (Anachronism): Formal argument keyCompare of type extern "C" int(*)(const void*,const
    void*) in call to PL_NewHashTable(unsigned, extern "C" unsigned(*)(const void*), extern "C" int(*)(const void*,const void*), extern
    "C" int(*)(const void*,const void*), const PLHashAllocOps*, void*) is being passed int(*)(const void*,const void*).
    "nsFontMetricsXft.cpp", line 2101: Error: "nsFontXftUnicode::nsFontXftUnicode(_FcPattern *, _FcPattern*)" has already been called and
    cannot be defined inline.
    "nsFontMetricsXft.cpp", line 2121: Error: "nsFontXftCustom::nsFontXftCustom(_FcPattern*, _FcPattern*, nsFontXftInfo*)" has already
    been called and cannot be defined inline.
    "nsFontMetricsXft.cpp", line 2613: Warning (Anachronism): Formal argument 4 of type extern "C" int(*)(const void*,const void*,void*)
    in call to NS_QuickSort(void*, unsigned, unsigned, extern "C" int(*)(const void*,const void*,void*), void*) is being passed
    int(*)(const void*,const void*,void*).
    2 Error(s) and 7 Warning(s) detected.

    I vaguely remember encountering something like this before. Can't
    remember how, or if, I got around it. :)

    --
    Griff Miller II | |
    Manager of Information Technology | The collectivists are coming! |
    Positron Corporation | The collectivists are coming! |
    com | |
    Griff Guest

  15. #15

    Default Re: Xdefs.h

    Delete the 'inline' keyword from both those lines :-)

    Siva

    Griff Miller <com> wrote in message news:<com>... 
    > >
    > > I tried that, but then it died because "Bool" wasn't defined. So I
    > > copied the typedef of Bool from Xdefs.h on XFree86 CVS, and it got
    > > her. I'm currently working through that problem.[/ref]
    >
    > OK, now I'm getting:
    >
    > CC -o nsFontMetricsXft.o -c -DNATIVE_THEME_SUPPORT -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -D_TIME_H=1 -DUSE_POSTSCRIPT -DUSE_XPRINT
    > -DUSE_MOZILLA_TYPES -I../.. -I./. -I./.. -I./../shared -I./../freetype -I./../x11shared -I/usr/local/include/freetype2
    > -I/usr/local/include -I../../../dist/include/xpcom -I../../../dist/include/string -I../../../dist/include/widget
    > -I../../../dist/include/view -I../../../dist/include/util -I../../../dist/include/pref -I../../../dist/include/uconv
    > -I../../../dist/include/unicharutil -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/content
    > -I../../../dist/include/layout -I../../../dist/include/imglib2 -I../../../dist/include/xprintutil -I../../../dist/include/gfx
    > -I../../../dist/include -I/usr/local/src/mozilla/dist/include/nspr -I/usr/local/include/freetype2 -I/usr/local/include
    > -I/usr/openwin/include -KPIC -I/usr/openwin/include -xbuiltin=%all -mt -DNDEBUG -DTRIMMED -xO4 -I/usr/local/include/gtk-1.2
    > -I/usr/local/include -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I/usr/openwin/include -I/usr/openwin/include
    > -DSOLARIS=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1
    > -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1 -DHAVE_UINT16_T=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_BYTEORDER_H=1
    > -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1
    > -DHAVE_SYS_STATFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBSOCKET=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -D_REENTRANT=1 -DHAVE_RANDOM=1
    > -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_NL_LANGINFO=1
    > -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_IOS_BINARY=1
    > -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DMOZ_WIDGET_GTK=1 -DMOZ_ENABLE_XREMOTE=1 -DMOZ_X11=1 -DMOZ_ENABLE_XFT=1
    > -DMOZ_ENABLE_COREXFONTS=1 -DMOZ_EXTRA_X11CONVERTERS=1 -DOJI=1 -DIBMBIDI=1 -DMOZ_VIEW_SOURCE=1 -DACCESSIBILITY=1 -DMOZ_XPINSTALL=1
    > -DMOZ_JSLOADER=1 -DMOZ_MATHML=1 -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILESHARING=1
    > -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DNS_PRINT_PREVIEW=1
    > -DNS_PRINTING=1 -DMOZILLA_VERSION=\"1.5b\" -D_MOZILLA_CONFIG_H_ -DMOZILLA_CLIENT nsFontMetricsXft.cpp
    > "nsFontMetricsXft.cpp", line 195: Warning (Anachronism): Using void*(*)(void*,unsigned) to initialize extern "C"
    > void*(*)(void*,unsigned).
    > "nsFontMetricsXft.cpp", line 195: Warning (Anachronism): Using void(*)(void*,void*) to initialize extern "C" void(*)(void*,void*).
    > "nsFontMetricsXft.cpp", line 196: Warning (Anachronism): Using PLHashEntry*(*)(void*,const void*) to initialize extern "C"
    > PLHashEntry*(*)(void*,const void*).
    > "nsFontMetricsXft.cpp", line 196: Warning (Anachronism): Using void(*)(void*,PLHashEntry*,unsigned) to initialize extern "C"
    > void(*)(void*,PLHashEntry*,unsigned).
    > "nsFontMetricsXft.cpp", line 510: Warning (Anachronism): Formal argument keyHash of type extern "C" unsigned(*)(const void*) in call
    > to PL_NewHashTable(unsigned, extern "C" unsigned(*)(const void*), extern "C" int(*)(const void*,const void*), extern "C"
    > int(*)(const void*,const void*), const PLHashAllocOps*, void*) is being passed unsigned(*)(const void*).
    > "nsFontMetricsXft.cpp", line 510: Warning (Anachronism): Formal argument keyCompare of type extern "C" int(*)(const void*,const
    > void*) in call to PL_NewHashTable(unsigned, extern "C" unsigned(*)(const void*), extern "C" int(*)(const void*,const void*), extern
    > "C" int(*)(const void*,const void*), const PLHashAllocOps*, void*) is being passed int(*)(const void*,const void*).
    > "nsFontMetricsXft.cpp", line 2101: Error: "nsFontXftUnicode::nsFontXftUnicode(_FcPattern *, _FcPattern*)" has already been called and
    > cannot be defined inline.
    > "nsFontMetricsXft.cpp", line 2121: Error: "nsFontXftCustom::nsFontXftCustom(_FcPattern*, _FcPattern*, nsFontXftInfo*)" has already
    > been called and cannot be defined inline.
    > "nsFontMetricsXft.cpp", line 2613: Warning (Anachronism): Formal argument 4 of type extern "C" int(*)(const void*,const void*,void*)
    > in call to NS_QuickSort(void*, unsigned, unsigned, extern "C" int(*)(const void*,const void*,void*), void*) is being passed
    > int(*)(const void*,const void*,void*).
    > 2 Error(s) and 7 Warning(s) detected.
    >
    > I vaguely remember encountering something like this before. Can't
    > remember how, or if, I got around it. :)[/ref]
    Thala Guest

  16. #16

    Default Re: Xdefs.h

    Thala S wrote: 

    That worked. Thanks! We'll see how the rest of the compile/link goes.

    --
    Griff Miller II | |
    Manager of Information Technology | The collectivists are coming! |
    Positron Corporation | The collectivists are coming! |
    com | |
    Griff Guest

  17. #17

    Default Re: Xdefs.h

    Griff Miller wrote: 
    >
    > That worked. Thanks! We'll see how the rest of the compile/link goes.[/ref]

    Well, it went through to the end this time, but when I tried to run it
    it segfaulted:

    % mozilla
    signal fault in critical section
    signal number: 11, signal code: 1, fault address: 0x4, pc: 0x7fbb5d70, sp: 0x7d1b17e8
    libthread panic: fault in libthread critical section : dumping core (PID: 24404 LWP 4)
    stacktrace:
    7fbb5d2c
    7fbb54fc
    7fbc6b58
    7fbb2c04
    7fbe89ac
    7fbb65c0
    7fbb55ec
    7fbc6b58
    7fbb2c04
    7e742ca8
    7e6c6728
    7e6c1544
    7f9207e4
    7fb3b744
    7f920714
    Segmentation Fault - core dumped

    --
    Griff Miller II | |
    Manager of Information Technology | "Never anthropomorphize computers; |
    Positron Corporation | they hate that." |
    com | |
    Griff Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139