Kengo Kinoshita
|
Thank you for your support.
|
Kengo Kinoshita
08/05/2010 6:08 AM
post61702
|
Thank you for your support.
Dear Boudreau:
Thank you for your support,
But sadly when a lot of errors happen.
Please teach me how to solve them.
Regards,
Kengo Kinoshita
# # cd x86
# # make
# make -j 1 -Co -fMakefile
make: Entering directory `/root/dd/x86/o'
/usr/qnx640/host/qnx6/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -DNDEBUG -I. -I/root/dd/x86/o
-I/root/dd/x86 -I/root/dd -I/usr/qnx640/target/qnx6/usr/include -DBUILDENV_qss /root/dd/conv.c
In file included from /root/dd/extern.h:38,
from /root/dd/conv.c:55:
/root/dd/cdefs.h:19:27: error: machine/cdefs.h: No such file or directory
/root/dd/cdefs.h:21:27: error: sys/cdefs_elf.h: No such file or directory
/root/dd/cdefs.h:26:1: warning: "__BEGIN_DECLS" redefined
In file included from /root/dd/conv.c:36:
/usr/qnx640/target/qnx6/usr/include/sys/cdefs.h:124:1: warning: this is the location of the previous definition
In file included from /root/dd/extern.h:38,
from /root/dd/conv.c:55:
/root/dd/cdefs.h:27:1: warning: "__END_DECLS" redefined
In file included from /root/dd/conv.c:36:
/usr/qnx640/target/qnx6/usr/include/sys/cdefs.h:127:1: warning: this is the location of the previous definition
In file included from /root/dd/conv.c:55:
/root/dd/extern.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bwrite'
/root/dd/extern.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddflags'
/root/dd/extern.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'files_cnt'
/root/dd/extern.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/root/dd/extern.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a2e_32V'
/root/dd/extern.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e2a_32V'
/root/dd/extern.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a2ibm_32V'
/root/dd/extern.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'casetab'
/root/dd/conv.c: In function 'def':
/root/dd/conv.c:70: error: 'u_char' undeclared (first use in this function)
/root/dd/conv.c:70: error: (Each undeclared identifier is reported only once
/root/dd/conv.c:70: error: for each function it appears in.)
/root/dd/conv.c:70: error: 'inp' undeclared (first use in this function)
/root/dd/conv.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/root/dd/conv.c:71: error: 't' undeclared (first use in this function)
/root/dd/conv.c:73: error: 'ctab' undeclared (first use in this function)
/root/dd/conv.c: In function 'block':
/root/dd/conv.c:127: error: 'u_char' undeclared (first use in this function)
/root/dd/conv.c:127: error: 'inp' undeclared (first use in this function)
/root/dd/conv.c:127: error: 'outp' undeclared (first use in this function)
/root/dd/conv.c:127: warning: left-hand operand of comma expression has no effect
/root/dd/conv.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/root/dd/conv.c:128: error: 't' undeclared (first use in this function)
/root/dd/conv.c:137: warning: left-hand operand of comma expression has no effect
/root/dd/conv.c:137: warning: value computed is not used
/root/dd/conv.c:154: warning: left-hand operand of comma expression has no effect
/root/dd/conv.c:156: error: 'ctab' undeclared (first use in this function)
/root/dd/conv.c: In function 'block_close':
/root/dd/conv.c:222: error: 'ctab' undeclared (first use in this function)
/root/dd/conv.c: In function 'unblock':
/root/dd/conv.c:238: error: 'u_char' undeclared (first use in this function)
/root/dd/conv.c:238: error: 'inp' undeclared (first use in this function)
/root/dd/conv.c:239: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/root/dd/conv.c:239: error: 't' undeclared (first use in this function)
/root/dd/conv.c:242: error: 'ctab' undeclared (first use in this...
View Full Message
|
|
|
Sean Boudreau(deleted)
|
RE: Thank you for your support.
|
Sean Boudreau(deleted)
08/05/2010 7:37 AM
post61704
|
RE: Thank you for your support.
There's no cdefs.h in the archive I sent. You should use the
shipped, qnx one. Just untar on a qnx system, don't add
any extra bsd files and do a make.
Regards,
-seanb
-----Original Message-----
From: Kengo Kinoshita [mailto:community-noreply@qnx.com]
Sent: Thu 8/5/2010 6:08 AM
To: general-community
Subject: Thank you for your support.
Dear Boudreau:
Thank you for your support,
But sadly when a lot of errors happen.
Please teach me how to solve them.
Regards,
Kengo Kinoshita
# # cd x86
# # make
# make -j 1 -Co -fMakefile
make: Entering directory `/root/dd/x86/o'
/usr/qnx640/host/qnx6/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -DNDEBUG -I. -I/root/dd/x86/o
-I/root/dd/x86 -I/root/dd -I/usr/qnx640/target/qnx6/usr/include -DBUILDENV_qss /root/dd/conv.c
In file included from /root/dd/extern.h:38,
from /root/dd/conv.c:55:
/root/dd/cdefs.h:19:27: error: machine/cdefs.h: No such file or directory
/root/dd/cdefs.h:21:27: error: sys/cdefs_elf.h: No such file or directory
/root/dd/cdefs.h:26:1: warning: "__BEGIN_DECLS" redefined
In file included from /root/dd/conv.c:36:
/usr/qnx640/target/qnx6/usr/include/sys/cdefs.h:124:1: warning: this is the location of the previous definition
In file included from /root/dd/extern.h:38,
from /root/dd/conv.c:55:
/root/dd/cdefs.h:27:1: warning: "__END_DECLS" redefined
In file included from /root/dd/conv.c:36:
/usr/qnx640/target/qnx6/usr/include/sys/cdefs.h:127:1: warning: this is the location of the previous definition
In file included from /root/dd/conv.c:55:
/root/dd/extern.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'bwrite'
/root/dd/extern.h:60: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ddflags'
/root/dd/extern.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'files_cnt'
/root/dd/extern.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/root/dd/extern.h:64: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a2e_32V'
/root/dd/extern.h:65: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e2a_32V'
/root/dd/extern.h:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a2ibm_32V'
/root/dd/extern.h:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'casetab'
/root/dd/conv.c: In function 'def':
/root/dd/conv.c:70: error: 'u_char' undeclared (first use in this function)
/root/dd/conv.c:70: error: (Each undeclared identifier is reported only once
/root/dd/conv.c:70: error: for each function it appears in.)
/root/dd/conv.c:70: error: 'inp' undeclared (first use in this function)
/root/dd/conv.c:71: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/root/dd/conv.c:71: error: 't' undeclared (first use in this function)
/root/dd/conv.c:73: error: 'ctab' undeclared (first use in this function)
/root/dd/conv.c: In function 'block':
/root/dd/conv.c:127: error: 'u_char' undeclared (first use in this function)
/root/dd/conv.c:127: error: 'inp' undeclared (first use in this function)
/root/dd/conv.c:127: error: 'outp' undeclared (first use in this function)
/root/dd/conv.c:127: warning: left-hand operand of comma expression has no effect
/root/dd/conv.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/root/dd/conv.c:128: error: 't' undeclared (first use in this function)
/root/dd/conv.c:137: warning: left-hand operand of comma expression has no effect
/root/dd/conv.c:137: warning: value computed is not used
/root/dd/conv.c:154: warning: left-hand operand of comma expression has no effect
/root/dd/conv.c:156: error: 'ctab' undeclared (first use in this function)
/root/dd/conv.c: In function 'block_close':
/root/dd/conv.c:222: error: 'ctab' undeclared (first use in this function)
/root/dd/conv.c: In function 'unblock':
/root/dd/conv.c:238: error: 'u_char'...
View Full Message
|
|
|
Kengo Kinoshita
|
More once question happen
|
Kengo Kinoshita
08/05/2010 7:26 PM
post61930
|
More once question happen
More once question happen,
Currently, We create shell batch that as 'makes.sh'.
And executed result as attached 'makes.result.txt'
In result of make,
Stdlib was not linked that result message informed caution.
Please let us know solve operation of it.
Regards.
Kengo Kinoshita.
|
|
|
Sean Boudreau(deleted)
|
RE: More once question happen
|
Sean Boudreau(deleted)
08/05/2010 7:50 PM
post61934
|
RE: More once question happen
setprogname() is in libnbutil. See the common.mk in the
archive I posted. It's probably easier to just use make
and the makefiles in that archive.
-seanb
-----Original Message-----
From: Kengo Kinoshita [mailto:community-noreply@qnx.com]
Sent: Thu 8/5/2010 7:26 PM
To: general-community
Subject: More once question happen
More once question happen,
Currently, We create shell batch that as 'makes.sh'.
And executed result as attached 'makes.result.txt'
In result of make,
Stdlib was not linked that result message informed caution.
Please let us know solve operation of it.
Regards.
Kengo Kinoshita.
_______________________________________________
General
http://community.qnx.com/sf/go/post61930
|
|
|
|