Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Thank you for your support.: (4 Items)
   
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
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
Attachment: Text winmail.dat 4.91 KB
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.
Attachment: Text makes.result.txt 693 bytes Text makes.sh 473 bytes
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

Attachment: Text winmail.dat 2.66 KB