Re: Compiling System Commands
These are the first few lines of the compilation. == Making fs_usage for ppc == Pre-build setup... /bin/rm -f /Users/krishna/Desktop/system_cmds-279.6/fs_usage.tproj/fs_usage.build/derived_src/TrustedPrecomps.txt Building... /usr/bin/cc -arch ppc -Os -Wall -precomp-trustfile /Users/krishna/Desktop/system_cmds-279.6/fs_usage.tproj/fs_usage.build/derived_src/TrustedPrecomps.txt -g -fno-common -I/Users/krishna/Desktop/system_cmds-279.6/fs_usage.tproj/fs_usage.build/ProjectHeaders -I -I -I/Users/krishna/Desktop/system_cmds-279.6/fs_usage.tproj/fs_usage.build/derived_src -I. -pipe -I/System/Library/System.framework/ -I/System/Library/Frameworks/System.framework/PrivateHeaders -I/System/Library/Frameworks/System.framework/PrivateHeaders/bsd -I/System/Library/Frameworks/System.framework/PrivateHeaders/bsd -c -o /Users/krishna/Desktop/system_cmds-279.6/fs_usage.tproj/fs_usage.build/objects-optimized/fs_usage.ppc.o fs_usage.c I am removing some of the errors from this post since it might go over the allowed size. Thanks --- Jean-Edouard BABIN <Jeb@jeb.com.fr> wrote:
It would help if you paste us the compilation line
previous the first error
i think...
on 18/06/04 18:58, + Krishna Monian ;
<k_tutorials@yahoo.com> wrote:
Oops, my previous message was too big for the
mailing
list. I didn't realise that there was a limit.
Hopefully this message will go through.
So these are the error messages I get when I try
to
compile the fs_usage project.
fs_usage.c:399: error: parse error before
"bufinfo"
fs_usage.c:402: error: parse error before '*'
token
fs_usage.c:602: error: `kd_buf' undeclared (first
use
in this function)
fs_usage.c:745: error: `kd_regtype' undeclared
(first
use in this function)
fs_usage.c:745: error: parse error before "kr"
fs_usage.c:747: error: `kr' undeclared (first use
in
this function)
fs_usage.c:747: error: `KDBG_TYPENONE' undeclared
(first use in this function)
fs_usage.c: In function `set_pidexclude':
fs_usage.c:774: error: `kd_regtype' undeclared
(first
use in this function)
fs_usage.c:778: error: `kr' undeclared (first use
in
this function)
fs_usage.c:778: error: `KDBG_TYPENONE' undeclared
(first use in this function)
fs_usage.c: At top level:
fs_usage.c:796: error: parse error before '*'
token
fs_usage.c: In function `get_bufinfo':
fs_usage.c:798: error: `val' undeclared (first use
in
this function)
fs_usage.c: In function `set_init':
fs_usage.c:835: error: `kd_regtype' undeclared
(first
use in this function)
fs_usage.c:837: error: `kr' undeclared (first use
in
this function)
fs_usage.c:837: error: `KDBG_RANGETYPE' undeclared
(first use in this function)
fs_usage.c: In function `sample_sc':
fs_usage.c:865: error: `kd_buf' undeclared (first
use
in this function)
fs_usage.c:878: error: request for member
`nkdbufs' in
something not a structure or union
fs_usage.c:890: error: request for member `flags'
in
something not a structure or union
fs_usage.c:890: error: `KDBG_WRAPPED' undeclared
(first use in this function)
fs_usage.c:905: error: parse error before ')'
token
fs_usage.c:924: error: `KDBG_THREAD_MASK'
undeclared
(first use in this function)
fs_usage.c: At top level:
fs_usage.c:1833: error: parse error before
"kd_buf"
fs_usage.c: In function `enter_syscall':
fs_usage.c:1841: error: `kd_threadmap' undeclared
(first use in this function)
fs_usage.c:1841: error: `map' undeclared (first
use in
this function)
fs_usage.c:1849: error: `type' undeclared (first
use
in this function)
fs_usage.c:2008: error: `now' undeclared (first
use in
this function)
fs_usage.c:2024: error: `thread' undeclared (first
use
in this function)
fs_usage.c:2026: error: `name' undeclared (first
use
in this function)
fs_usage.c:2030: error: `kd' undeclared (first use
in
this function)
fs_usage.c: At top level:
fs_usage.c:2094: error: parse error before
"kd_buf"
fs_usage.c: In function `extend_syscall':
fs_usage.c:2098: error: `type' undeclared (first
use
in this function)
fs_usage.c:2100: error: `thread' undeclared (first
use
in this function)
fs_usage.c:2102: error: `kd' undeclared (first use
in
this function)
fs_usage.c: In function `format_print':
fs_usage.c:2149: error: `kd_threadmap' undeclared
(first use in this function)
fs_usage.c: In function `read_command_map':
fs_usage.c:2369: error: request for member
`nkdthreads' in something not a structure or union
fs_usage.c:2370: error: request for member
`nkdthreads' in something not a structure or union
fs_usage.c:2374: error: parse error before ')'
__________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Krishna Monian