Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: make error 1.9.5  (Read 3701 times)

0 Members and 1 Guest are viewing this topic.

Eyecu

  • Anope User
  • Offline Offline
  • Posts: 29
make error 1.9.5
« on: September 11, 2011, 03:34:51 AM »

Good evening attempting to compile 1.9.5 on FreeBSD 7.3-RELEASE and get the following error when attempting to make

Code: [Select]
[ 11%] Building CXX object src/CMakeFiles/services.dir/bots.o
/usr/home/chain/anope-1.9.5-source/src/bots.cpp:1: fatal error: had to relocate PCH
compilation terminated.
*** Error code 1

Stop in /usr/home/chain/anope-1.9.5-source/build.
*** Error code 1

Stop in /usr/home/chain/anope-1.9.5-source/build.
*** Error code 1

Stop in /usr/home/chain/anope-1.9.5-source/build.
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: make error 1.9.5
« Reply #1 on: September 11, 2011, 05:56:34 AM »

What g++ version? Also you could try removing the .gch files in build/include and replacing them with empty files of the same name, to invalidate them and force the compiler to rebuild the headers for each file.
Logged

Eyecu

  • Anope User
  • Offline Offline
  • Posts: 29
Re: make error 1.9.5
« Reply #2 on: September 11, 2011, 09:54:03 PM »

Hi Adam, seems I got the issue sorted....after running make clean, make a few times with it erroring at different points. I deleted it and redid it I also cleaned up my home directory some before recompiling so I'm not sure what did it, but it worked lol.  Just for reference the g++ version is

g++ (GCC) 4.2.1 20070719  [FreeBSD]
Logged
Pages: [1]   Go Up