Nekochan Net

Official Chat Channel: #nekochan // irc.nekochan.net
It is currently Thu Jul 24, 2014 10:44 pm

All times are UTC - 8 hours


Forum rules


Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: newer fontforge
Unread postPosted: Wed Jan 13, 2010 1:26 am 
Offline

Joined: Tue Feb 24, 2004 4:10 pm
Posts: 9448
Trying to compile the newest fontforge

http://fontforge.sourceforge.net/

get mostly thru, then these two errors and she croaks
Code:

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 ?


Top
 Profile  
 
 Post subject: Re: newer fontforge
Unread postPosted: Wed Jan 13, 2010 4:25 am 
Offline
Moderator
Moderator
User avatar

Joined: Fri May 09, 2003 5:10 am
Posts: 2931
Location: Maryland, USA
Try removing the (void *) casts?


Top
 Profile  
 
 Post subject: Re: newer fontforge
Unread postPosted: Wed Jan 13, 2010 3:03 pm 
Offline
User avatar

Joined: Mon Jul 21, 2003 5:19 am
Posts: 741
Code:
(void *) (BITMAP_FORMAT_START+1)

Code:
#include <sys/time.h>

Code:
-lcurses -liconv

result in
Code:
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)


Top
 Profile  
 
 Post subject: Re: newer fontforge
Unread postPosted: Wed Jan 13, 2010 6:28 pm 
Offline

Joined: Tue Feb 24, 2004 4:10 pm
Posts: 9448
canavan wrote:
Code:
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.


Top
 Profile  
 
 Post subject: Re: newer fontforge
Unread postPosted: Thu Jan 14, 2010 2:10 pm 
Offline
User avatar

Joined: Mon Jul 21, 2003 5:19 am
Posts: 741
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group