Précédent   Forum des professionnels en informatique > Systèmes > Autres systèmes > Unix > AIX
AIX Forum d'entraide sur le système AIX. Avant de poster -> FAQ AIX et cours AIX
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
Vieux 04/03/2009, 09h54   #1
Invité régulier
 
Inscription : mai 2007
Messages : 44
Détails du profil
Informations forums :
Inscription : mai 2007
Messages : 44
Points : 6
Points : 6
Par défaut Erreur de compilation GDB 6.8 Sous AIX 5.3

Bonjour,

J'essaye depuis quelques jours d'installer désespérément le débugger GDB-6.8 sous AIX 5.3.0.0.
J'abouti toujours sur le même message d'erreur suivant :



Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
gcc -c -g -O2 -DDEFAULT_INLINE=PSIM_INLINE_LOCALS         -DWITH_HOST_BYTE_ORDER=BIG_ENDIAN  -DWITH_SMP=5                            
-DHAVE_TERMIO_STRUCTURE -DHAVE_TERMIO_CLINE  -DHAVE_DEVZERO     
-I. -I../.././sim/ppc -I../.././sim/ppc/../../include -I../../bfd -I../.././sim/ppc/../../bfd -I../../gdb 
-I../.././sim/ppc/../../gdb  -I../.././sim/ppc/../../gdb/config  -DHAVE_COMMON_FPU -I../common -I../.././sim/ppc/../common icache.c
In file included from icache.c:30:
semantics.h:33:1: warning: "PAGE_SIZE" redefined
In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/stdio.h:507,
                 from basics.h:98,
                 from cpu.h:25,
                 from icache.c:28:
/usr/include/sys/limits.h:367:1: warning: this is the location of the previous definition
        gcc -c -g -O2 -DDEFAULT_INLINE=PSIM_INLINE_LOCALS         -DWITH_HOST_BYTE_ORDER=BIG_ENDIAN  -DWITH_SMP=5                            
-DHAVE_TERMIO_STRUCTURE -DHAVE_TERMIO_CLINE  -DHAVE_DEVZERO     
-I. -I../.././sim/ppc -I../.././sim/ppc/../../include -I../../bfd -I../.././sim/ppc/../../bfd -I../../gdb 
-I../.././sim/ppc/../../gdb  -I../.././sim/ppc/../../gdb/config  -DHAVE_COMMON_FPU -I../common 
-I../.././sim/ppc/../common semantics.c
In file included from semantics.c:30:
semantics.h:33:1: warning: "PAGE_SIZE" redefined
In file included from /opt/freeware/lib/gcc/powerpc-ibm-aix5.3.0.0/4.2.0/include/stdio.h:507,
                 from basics.h:98,
                 from cpu.h:25,
                 from semantics.c:28:
/usr/include/sys/limits.h:367:1: warning: this is the location of the previous definition
        rm -f targ-vals.def tmp-def
        cat ../.././sim/ppc/../common/nltvals.def > tmp-vals.def
        /bin/sh ../.././sim/ppc/../../move-if-change tmp-vals.def targ-vals.def
        gcc -g -O2 -I. -I../.././sim/ppc -I../.././sim/ppc/../../include -I../../bfd -I../.././sim/ppc/../../bfd -I../../gdb -I../.././sim/ppc/../../gdb  
-l../.././sim/ppc/../../gdb/config  -I. -I../common -I../.././sim/ppc/../common -o gentmap
gcc: no input files
make: 1254-004 The error code from the last command is 1.
 

Stop.
make: 1254-004 The error code from the last command is 1.
 

Stop.
make: 1254-004 The error code from the last command is 2.
 

Stop.
make: 1254-004 The error code from the last command is 2.
 

Stop.
Auriez-vous une idée sur cette erreur?

Merci

Dernière modification par qiqi1111 ; 04/03/2009 à 15h45.
qiqi1111 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/03/2009, 15h48   #2
Membre Expert
 
Homme
Ingénieur développement logiciels
Inscription : octobre 2008
Messages : 1 361
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 33
Localisation : France

Informations professionnelles :
Activité : Ingénieur développement logiciels

Informations forums :
Inscription : octobre 2008
Messages : 1 361
Points : 2 002
Points : 2 002
Je ne sais pas trop, mais si ça peut t'aider, gdb est disponible dans la linux toolbox : http://www-03.ibm.com/systems/power/.../download.html
matafan est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 05/03/2009, 11h26   #3
Invité régulier
 
Inscription : mai 2007
Messages : 44
Détails du profil
Informations forums :
Inscription : mai 2007
Messages : 44
Points : 6
Points : 6
Bonjour,

J'ai regardé un peu sur le net, et j'ai vu sur un forum que le Make AIX n'interprète pas correctement $< dans les Makefile.

Dans ce cas là, y a t-il un moyen d'utiliser GNU Make sous AIX?

Merci
qiqi1111 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 06/03/2009, 12h41   #4
Membre Expert
 
Homme
Ingénieur développement logiciels
Inscription : octobre 2008
Messages : 1 361
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 33
Localisation : France

Informations professionnelles :
Activité : Ingénieur développement logiciels

Informations forums :
Inscription : octobre 2008
Messages : 1 361
Points : 2 002
Points : 2 002
Oui, il suffit de le downloader à l'URL que je t'ai donné et de l'installer.
matafan est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 09/03/2009, 17h37   #5
Invité de passage
 
Inscription : juin 2007
Messages : 4
Détails du profil
Informations personnelles :
Localisation : France

Informations forums :
Inscription : juin 2007
Messages : 4
Points : 1
Points : 1
Par défaut Une partie de la solution

(qiqi1111 et moi sommes dans la même équipe)

We realised that the problem came from the "configure" that we ran after de-tarring the gdb archive.
The documentation seems to imply that :

> configure

or

> configure hostname

is OK. In fact, you need to run :

...>configure ibm

But then we got some syntax problems on memcpy instructions in elf.c , and we eventually got stuck by the following error message :

Target "all" is up to date.
Target "all" is up to date.
Making info in doc
make chew
Target "chew" is up to date.
./chew -f ../.././bfd/doc/doc.str <../.././bfd/doc/../elf.c >elf.tmp
/bin/sh ../.././bfd/doc/../../move-if-change elf.tmp elf.texi
Target "info" is up to date.
Making info in po
Target "info" is up to date.
Target "info-am" is up to date.
make all-recursive
Making all in doc
Target "all" is up to date.
Making all in po
Target "all" is up to date.
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DTRAD_CORE -I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o trad-core.lo trad-core.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.././bfd -I. -DTRAD_CORE -I. -I.././bfd -I.././bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -We rror -g -O2 -c trad-core.c -o trad-core.o
trad-core.c:48:21: error: hosts/i370linux.h: No such file or directory
trad-core.c: In function 'trad_unix_core_file_p':
trad-core.c:104: error: 'struct user' has no member named 'u_dsize'
trad-core.c:109: error: 'struct user' has no member named 'u_ssize'
trad-core.c:122: error: 'UPAGES' undeclared (first use in this function)
trad-core.c:122: error: (Each undeclared identifier is reported only once
trad-core.c:122: error: for each function it appears in.)
trad-core.c:122: error: 'struct user' has no member named 'u_dsize'
trad-core.c:126: error: 'struct user' has no member named 'u_ssize'
trad-core.c:133: error: 'struct user' has no member named 'u_dsize'
trad-core.c:133: error: 'struct user' has no member named 'u_ssize'
trad-core.c:178: error: 'struct user' has no member named 'u_dsize'
trad-core.c:183: error: 'struct user' has no member named 'u_ssize'
trad-core.c:191: error: 'HOST_TEXT_START_ADDR' undeclared (first use in this function)
trad-core.c:191: error: 'struct user' has no member named 'u_tsize'
trad-core.c:197: error: 'HOST_STACK_END_ADDR' undeclared (first use in this function)
trad-core.c:197: error: 'struct user' has no member named 'u_ssize'
trad-core.c:214: error: 'struct user' has no member named 'u_ar0'
trad-core.c:217: error: 'struct user' has no member named 'u_dsize'
trad-core.c: In function 'trad_unix_core_file_failing_command':
trad-core.c:243: error: 'struct user' has no member named 'u_comm'
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


Quelqu'un d'autre a-t-il rencontré ce problème ?
bkissel est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +1. Il est actuellement 03h00.


 
 
 
 
Partenaires

Hébergement Web