j0ram
Joined: 07 Aug 2010 Posts: 1
|
Posted: Sat Aug 07, 2010 10:35 am Post subject: Compiling Problem |
|
|
Howdy! Just moved to a new shell server, and sadly, I cannot get my tintin to compile. And unfortunately, I know zip all about coding.
Perhaps there's someone who could help?
The OS is FreeBSD
The first time around, I was getting:
----------------------------------
c:/homex/j0ram/tt/src>make
gcc -Wall -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -DHAVE_CONFIG_H -c action.c
In file included from action.c:28:
----------------------------------
So I located pcre.h in the /usr/local/include folder, and changed the tinexp.c and tintin.h files to:
#include </usr/local/include/pcre.h>
Then I attempted to make once again, and got further. There were a few errocs akin to:
----------------------------------
system.c: In function `do_run':
system.c:63: warning: implicit declaration of function `forkpty'
----------------------------------
and
----------------------------------
list.c: In function `array_find':
list.c:197: warning: 'index' might be used uninitialized in this function
----------------------------------
But it proceeded to the Linking stage, at which time it bombed, with the following error:
----------------------------------
---- Linking...
gcc -Wall -O2 -fno-strict-aliasing -pipe -D_GNU_SOURCE -DHAVE_CONFIG_H -o tt++ action.o alias.o files.o help.o highlight.o strhash.o input.o log.o main.o misc.o net.o parse.o path.o update.o history.o tab.o vt102.o terminal.o session.o function.o text.o substitute.o tick.o telopt.o math.o split.o debug.o tinexp.o mapper.o tables.o buffer.o prompt.o class.o event.o utils.o chat.o macro.o config.o gag.o variable.o list.o forkpty.o cursor.o memory.o system.o line.o tokenize.o data.o nest.o advertise.o -lutil -lpthread -lz
tinexp.o(.text+0x5d): In function `regexp_compare':
: undefined reference to `pcre_exec'
tinexp.o(.text+0x1af): In function `regexp_compare':
: undefined reference to `pcre_compile'
tinexp.o(.text+0x2cb): In function `regexp_compile':
: undefined reference to `pcre_compile'
*** Error code 1
----------------------------------
Any help would be greatly appreciated. I've been using tintin since '93, and I can't live without it!
Thanks so much,
j0ram |
|