Re: lint does not compile
Re: lint does not compile
- Subject: Re: lint does not compile
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 12 Nov 2008 16:10:09 +0100
How are you supposed to use the darwinbuild command to build this
directory of projects?
I tried following the instructions from http://darwinbuild.macosforge.org/trac/browser/trunk/README
but they don't work. The example in the document does not work either:
bash-3.2# darwinbuild developer_cmds
/usr/local/bin/darwinbuild: line 326: /usr/local/bin/darwinxref: No
such file or directory
/usr/local/bin/darwinbuild: line 335: /usr/local/bin/darwinxref: No
such file or directory
/usr/local/bin/darwinbuild: line 341: /usr/local/bin/darwinxref: No
such file or directory
ERROR: project not found: developer_cmds
bash-3.2# darwinbuild xnu
/usr/local/bin/darwinbuild: line 326: /usr/local/bin/darwinxref: No
such file or directory
/usr/local/bin/darwinbuild: line 335: /usr/local/bin/darwinxref: No
such file or directory
/usr/local/bin/darwinbuild: line 341: /usr/local/bin/darwinxref: No
such file or directory
ERROR: project not found: xnu
On Nov 12, 2008, at 12:40 PM, Aladin wrote:
Using the DarwinBuild project, "developer_cmds-49" can be built, but
no lint occurence in the build log.
EXIT STATUS: 0
developer_cmds - 30 files registered.
Aladin
--
www.puredarwin.org
On Wed, Nov 12, 2008 at 12:01 PM, Stéphane Sudre <email@hidden>
wrote:
http://www.opensource.apple.com/darwinsource/10.5.5/
developer_cmds-49
lex.yy.c:1502: warning: 'yyunput' defined but not used
/usr/bin/cc -o /tmp/developer_cmds/Build/lint1
-L/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1
-F/tmp/developer_cmds/Build -L/tmp/developer_cmds/Build -arch i386
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/decl.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/emit.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/emit1.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/err.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/func.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/init.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/main1.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/mem.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/mem1.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/tree.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/cgram.o
/tmp/developer_cmds/Build/lint.build/objects-optimized/lint1/
scan.o -ll
Undefined symbols:
"_yydebug", referenced from:
_yydebug$non_lazy_ptr in main1.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [/tmp/developer_cmds/Build/lint1] Error 1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden