newer fontforge

IRIX/Nekoware development, porting and related topics.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
hamei
Posts: 10002
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

newer fontforge

Unread postby hamei » Wed Jan 13, 2010 1:26 am

Trying to compile the newest fontforge

http://fontforge.sourceforge.net/

get mostly thru, then these two errors and she croaks

Code: Select all


cc-3316 cc: ERROR File = cvexportdlg.c, Line = 252
  The expression must be a pointer to a complete object type.

      { (unichar_t *) N_("BMP"), NULL, 0, 0, (void *) BITMAP_FORMAT_START+1, 0, 0, 0, 0, 0, 0, 0, 1 },
                                             ^

cc-3316 cc: ERROR File = cvexportdlg.c, Line = 254
  The expression must be a pointer to a complete object type.

      { (unichar_t *) N_("png"), NULL, 0, 0, (void *) BITMAP_FORMAT_START+2, 0, 0, 0, 0, 0, 0, 0, 1 },

2 errors detected in the compilation of "cvexportdlg.c".
gmake[1]: *** [cvexportdlg.o] Error 2


Any hints ?

User avatar
squeen
Moderator
Moderator
Posts: 2932
Joined: Fri May 09, 2003 6:10 am
Location: Maryland, USA

Re: newer fontforge

Unread postby squeen » Wed Jan 13, 2010 4:25 am

Try removing the (void *) casts?

User avatar
canavan
Posts: 754
Joined: Mon Jul 21, 2003 6:19 am

Re: newer fontforge

Unread postby canavan » Wed Jan 13, 2010 3:03 pm

Code: Select all

(void *) (BITMAP_FORMAT_START+1)

Code: Select all

#include <sys/time.h>

Code: Select all

-lcurses -liconv

result in

Code: Select all

dbx ./.libs/fontforge
dbx version 7.3.3 (78517_Dec16 MR) Dec 16 2001 07:45:22
Overlapping regions: finding functions/setting breakpoints may not
work reliably till program is run (rld moves DSOs, removing overlaps).
Use 'stop at 1' and 'run' commands first to remove overlaps.
Overlapping regions: 0xf400000 to 0xf4a2740 and 0xf400000 to 0xf541ab0
Executable /tmp/u/fontforge-20090923/fontforge/./.libs/fontforge
(dbx) run
Process 49324 (fontforge) started
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 23:48 GMT 23-Sep-2009.
 Library based on sources from 17:32 GMT 14-Sep-2009.
Process 49324 (fontforge) stopped on signal SIGBUS: Bus error (default) at [<unknown>:0 ,0x25c9cf8]
(dbx) where thread all

Thread 0x10000
>  0 <Unknown>() [< unknown >, 0x25c9cf8]
(dbx)

hamei
Posts: 10002
Joined: Tue Feb 24, 2004 4:10 pm
Location: over the rainbow

Re: newer fontforge

Unread postby hamei » Wed Jan 13, 2010 6:28 pm

canavan wrote:

Code: Select all

Process 49324 (fontforge) started
Copyright (c) 2000-2009 by George Williams.
 Executable based on sources from 23:48 GMT 23-Sep-2009.
 Library based on sources from 17:32 GMT 14-Sep-2009.
Process 49324 (fontforge) stopped on signal SIGBUS: Bus error (default) at [<unknown>:0 ,0x25c9cf8]
(dbx) where thread all

Thread 0x10000
>  0 <Unknown>() [< unknown >, 0x25c9cf8]
(dbx)


Over my head but at least I can email the author ... suggestions about what might be the problem area ? Fontforge is a pretty useful app, would be nice to have a newer version.

User avatar
canavan
Posts: 754
Joined: Mon Jul 21, 2003 6:19 am

Re: newer fontforge

Unread postby canavan » Thu Jan 14, 2010 2:10 pm

Before bothering the author with something he probably won't be able to reproduce, please try recompiling the whole thing with -O0 and -g in CFLAGS and LDFLAGS, --enable-static, and mayvbe with python3 instead of 2.x. Then retry running it in a debugger, it might turn up some useful info, my backtrace above isn't.


Return to “SGI: Development”

Who is online

Users browsing this forum: No registered users and 1 guest