Donate Share

gpsim - The gnupic Simulator

Tracker: Bugs

5 SVN r1991 fails to build with GCC 4.3.0 - ID: 1945925
Last Update: Comment added ( sf-robot )

Fails with the following errors:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -O2 -march=i686 -mtune=athlon-xp -msse -mmmx
-pipe -ggdb3 -Wall -MT gpsim_modules.lo -MD -MP -MF .deps/gpsim_modules.Tpo
-c gpsim_modules.cc -fPIC -DPIC -o .libs/gpsim_modules.o
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -O2 -march=i686 -mtune=athlon-xp -msse -mmmx
-pipe -ggdb3 -Wall -MT dspic-processors.lo -MD -MP -MF
.deps/dspic-processors.Tpo -c dspic-processors.cc -fPIC -DPIC -o
.libs/dspic-processors.o
gpsim_modules.cc: In function ‘void mod_list()’:
gpsim_modules.cc:80: error: ‘strlen’ was not declared in this scope
gpsim_modules.cc:94: error: ‘strlen’ was not declared in this scope
make[3]: *** [gpsim_modules.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../trace.h:31,
from ../processor.h:32,
from dspic-processors.h:25,
from dspic-processors.cc:23:
../value.h: In function ‘bool operator!=(String&, String&)’:
../value.h:531: error: ‘strcmp’ was not declared in this scope
In file included from dspic-processors.h:25,
from dspic-processors.cc:23:
../processor.h: At global scope:
../processor.h:579: error: declaration of ‘virtual void
Processor::list(unsigned int, unsigned int, int, int)’
/usr/lib/gcc/i686-pc-linux-gnu/4.3.0/include/g++-v4/bits/stl_list.h:417:
error: changes meaning of ‘list’ from ‘class
std::list<ProgramMemoryAccess*, std::allocator<ProgramMemoryAccess*> >’
make[3]: *** [dspic-processors.lo] Error 1
make[3]: Leaving directory
`/var/tmp/portage/dev-embedded/gpsim-0.22.0_p1991/work/gpsim-0.22.0_p1991/s
rc/dspic'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/dev-embedded/gpsim-0.22.0_p1991/work/gpsim-0.22.0_p1991/s
rc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/dev-embedded/gpsim-0.22.0_p1991/work/gpsim-0.22.0_p1991'
make: *** [all] Error 2


Distro bugs about this issue:
Gentoo bug 218210:
http://bugs.gentoo.org/218210
Debian bug 474796:
http://bugs.debian.org/474796


peteralfredsen ( peteralfredsen ) - 2008-04-18 16:06

5

Closed

Works For Me

Borut Ražem

None

None

Public


Comments ( 2 )




Date: 2008-09-28 02:20
Sender: sf-robotSourceForge.net Site Admin

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2008-09-13 12:34
Sender: borutrProject AdminAccepting Donations

The current gpsim svn revision #2020 builds without errors on Fedora 9:
$ gcc --version
gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)

Borut


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Pending 2008-09-28 02:20 sf-robot
close_date 2008-09-13 12:34 2008-09-28 02:20 sf-robot
status_id Open 2008-09-13 12:34 borutr
resolution_id None 2008-09-13 12:34 borutr
assigned_to nobody 2008-09-13 12:34 borutr
close_date - 2008-09-13 12:34 borutr