witwall / sam2p

Automatically exported from code.google.com/p/sam2p
GNU General Public License v2.0
0 stars 0 forks source link

Cannot compile with GCC 4.5 #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get 0.46 or 0.47
2. Compile

Seems the ccdep.pl script doesn't know GCC 4.5 yet.

Original issue reported on code.google.com by sardemff7.pub@gmail.com on 24 Apr 2010 at 10:07

GoogleCodeExporter commented 9 years ago
Verified. 

Also reported here, http://bugs.gentoo.org/315619

Original comment by ssuomi...@unk.fi on 26 Apr 2010 at 11:07

GoogleCodeExporter commented 9 years ago
I managed to compile the thing on openSUSE 11.3, gcc 4.5.0

for results/packages, look on the openSUSE build service:

https://build.opensuse.org/package/show?package=sam2p&project=home%3Arepabuild

ccdep.pl fails when the cpp stumbles on two things:
- missing stdafx.h, a windows-oriented header file, the sources have StdAfx.h, 
which simply gets used under windows (= case-insensitive)
- missing bts2.tth, which gets generated later in the process. 

My fix, before running ./configure, do:

touch stdafx.h
perl -x hq.pl <bts.ttt >bts2.tth

Original comment by rene.van...@gmail.com on 17 Sep 2010 at 2:10

GoogleCodeExporter commented 9 years ago
This should be fixed in the latest release: 
http://code.google.com/p/sam2p/downloads/detail?name=sam2p-0.49.1.tar.gz

If it doesn't work, please let me know.

Original comment by pts...@gmail.com on 15 Dec 2011 at 9:55