Compface provides utilities and a library for converting to and from the X-Face format, a 48x48 bitmap format used to carry thumbnails of email authors in a mail header.
| Tags | multimedia Graphics |
|---|---|
| Licenses | MIT/X |
Recent releases


Release Notes: CRLF endings in the sources were fixed. configure.in was moved to configure.ac and the obsolete constructions were rewritten. 'make install' was fixed and now works on Cygwin (requiring the EXEEXT variable from 'configure').


Release Notes: This release adds a missing "configure".


Release Notes: This version fixed compilation problems with recent versions of GCC. It also added makefile.vc and libcompface.def files for compiling under MS Windows and generating static and shared libraries. An xbm2xface.pl script was included for generating X-faces.


Release Notes: It now compiles on systems without sys_errlist but with strerror().
Recent comments
26 Nov 2003 05:44
Re: compface-1.4
The fix to compile on a modern system is simple: in cmain.c and uncmain.c, replace the lines
extern int errno;
char *strerror();
char *strerrorwrap();
by
#include <errno.h>
#include <string.h>
char *strerrorwrap();
It would be nice if whoever put this project up could take note and make a new release, but the listed project author is the original program author, and there's no email address attached.
(This is probably what earlier authors in this thread were trying to say, but it seems that the posts here are always displayed as HTML formatted mode, even if you tried to enter raw text, which previewed correctly; this causes include file names to disappear, for example.)
26 Nov 2003 05:41
Re: compface-1.4
The fix to compile on a modern system is simple: in cmain.c and uncmain.c, replace the lines
extern int errno;
char *strerror();
char *strerrorwrap();
by
#include
#include
char *strerrorwrap();
It would be nice if whoever put this project up could take note and make a new release, but the listed project author is the original program author, and there's no email address attached.
24 Nov 2003 14:01
Re: compface-1.4
>
> % add "#include " at the top of cmain.c
> % and uncmain.c
>
>
>
> Oops:
> add "#include <errno.h>" at the
> top of cmain.c
> and uncmain.c
>
> Bianco
That fixed it, sorry about double posting, and sorry I
didn't read all the thread.
Thanks for your help
Owen
24 Nov 2003 13:59
Re: compface-1.4
>
> % add "#include " at the top of cmain.c
> % and uncmain.c
>
>
>
> Oops:
> add "#include <errno.h>" at the
> top of cmain.c
> and uncmain.c
Oops
Didn't see this follow up
Sorry, it makes ok now
Apologies
Owen
24 Nov 2003 13:52
Re: compface-1.4
>
> % I have used this for some years, now
> I
> % can't make
> % it. gcc-3.3 instead of 2.95.
> %
> [...]
> % gcc -o compface cmain.o compface.o
> % libcompface.a
> % cmain.o(.text+0x143): In function
> % `main':
> %
> /mnt/hda9/builds/compface-1.4/cmain.c:110:
> %
> % undefined reference to `errno'
> [...]
> % make: *** [compface] Error 1
> %
>
>
> Quick and dirty:
>
> add "#include " at the top of cmain.c
> and uncmain.c
>
> HTH
>
> Bianco
OK, well I added #include to both those files and
now it fails
[owen@localhost compface-1.4]$ make
gcc -c -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1
-DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -g
-O2 cmain.c
cmain.c:17:9: #include expects "FILENAME" or
make: *** [cmain.o] Error 1
I might have to try going back to gcc-2.95.3 and see
if that "fixes" it
Anyway, thnks for your help
Owen