I'm trying to change the channels from bitvectors to extended bitvectors. Everything worked ok, except for one line of code in save.c. I'm using smaug 1.4a, linux.
The snippet I'm using says to change this:
in fwrite_char:
if (ch->deaf )
fprintf( pf, "Deaf %d\n", ch->deaf );
into this:
if ( !xIS_EMPTY(ch->deaf) )
fprintf( fp, "Deaf %s\n", frpint_bitvector(&ch->deaf) );
which is what I did. However, when I try to compile, when it reaches save.c it gives this error:
implicit declaration of function 'fprint_bitvector'
warning format argument is not a pointer (arg3)
it continues, until it tries to build save.o, then it crashes and gives me this error:
In function `fwrite_char':
/home/username/dist/src/save.c:345: undefined reference to `fprint_bitvector'
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/username/dist/src'
make: *** [all] Error 2
any ideas?
The snippet I'm using says to change this:
in fwrite_char:
if (ch->deaf )
fprintf( pf, "Deaf %d\n", ch->deaf );
into this:
if ( !xIS_EMPTY(ch->deaf) )
fprintf( fp, "Deaf %s\n", frpint_bitvector(&ch->deaf) );
which is what I did. However, when I try to compile, when it reaches save.c it gives this error:
implicit declaration of function 'fprint_bitvector'
warning format argument is not a pointer (arg3)
it continues, until it tries to build save.o, then it crashes and gives me this error:
In function `fwrite_char':
/home/username/dist/src/save.c:345: undefined reference to `fprint_bitvector'
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/username/dist/src'
make: *** [all] Error 2
any ideas?