Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#152430 - 01/04/2003 13:50 2.00 final: emptool FTBFS
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
emptool fails to build from source:

Compiling dospath2.cpp
In file included from /usr/include/c++/3.2/bits/stl_algobase.h:64,
from /usr/include/c++/3.2/memory:54,
from dnew.h:26,
from config.h:102,
from dospath2.cpp:13:
/usr/include/c++/3.2/i386-linux/bits/c++config.h:77:2: #error __USE_MALLOC should never be defined. Read the release notes.


This is using gcc (GCC) 3.2.3 20030316 (Debian prerelease).

_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#152431 - 01/04/2003 19:17 Re: 2.00 final: emptool FTBFS [Re: tms13]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14496
Loc: Canada
I would guess that, it is normally built using an older glibc and gcc than on your state-of-the-minute system.

Top
#152432 - 02/04/2003 08:50 Re: 2.00 final: emptool FTBFS [Re: tms13]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
This is using gcc (GCC) 3.2.3 20030316 (Debian prerelease).
For the moment we recommend 2.95.3. I'll look at making it gcc3-clean at some point.

Peter

Top
#152433 - 02/04/2003 11:19 Re: 2.00 final: emptool FTBFS [Re: peter]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
I got a bit further by building like:
make BUILD=car2 ARCH=pc CC=gcc-2.95 emptool
but then it fell over with
../../lib/pc-generic-debug2/libempeg_protocol.a(discovery.o)(.gnu.linkonce.t._ZN9CNgLogHexC2EPKcS1_iN6CNgLog8LogLevelE+0x16): In function `CNgLogHex::CNgLogHex[not-in-charge](char const*, char const*, int, CNgLog::LogLevel)':
/usr/include/c++/3.2/i386-linux/bits/gthr-default.h:484: undefined reference to `CNgLog::CNgLog[not-in-charge](char const*, char const*, int, CNgLog::LogLevel)'
../../lib/pc-generic-debug2/libempeg_protocol.a(discovery.o)(.gnu.linkonce.t._ZN9CNgLogHexC1EPKcS1_iN6CNgLog8LogLevelE+0x16): In function `CNgLogHex::CNgLogHex[in-charge](char const*, char const*, int, CNgLog::LogLevel)':
/usr/include/c++/3.2/i386-linux/bits/gthr-default.h:484: undefined reference to `CNgLog::CNgLog[not-in-charge](char const*, char const*, int, CNgLog::LogLevel)'
(and more). Looks like the libc or libstdc++ version comes into it as well, and I don't know how to override that.

The pre-built tools work for me, and I'm not planning any hacking on these, so it's not an urgent issue.
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#152434 - 02/04/2003 15:29 Re: 2.00 final: emptool FTBFS [Re: tms13]
jaharkes
enthusiast

Registered: 20/08/2002
Posts: 340
Loc: Pittsburgh, PA
Use CC=g++-2.95, or more likely "CC=gcc-2.95 CXX=g++-2.95"
_________________________
40GB - serial #40104051 gpsapp

Top