Re: [shoes] Compiling on ubuntu 11.04
- From:
- Eric Watson
- Date:
- 2011-07-21 @ 15:54
>
> If you're fixing the wiki Eric, Toss in a couple of links to RVM
> tutorials (installing, using, updating versions). That way I'll know
> where to look when I need them. ;-)
>
I updated the wiki's ubuntu install instructions for ubuntu 11.04, including
an RVM install. That should be the same for any linux, actually, and maybe
should be factored out. Cecil, there's a link there to the rvm project site.
It has a very complete manual :)
One further question: my build gave me a lot of warnings. Is this expected,
or is it because I'm building for 32-bit? Although C is not my strength, I
would be glad to work on addressing the warnings as a way to get better
acquainted with the code. See some of the warnings below.
Eric
. .. . ... .
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -Iincludes
-DRUBY_1_9 -o catalog.o -c catalog.c
catalog.c: In function ‘catalogDataRead’:
catalog.c:258:25: warning: ‘record’ may be used uninitialized in this
function
catalog.c: In function ‘getFolderContents’:
catalog.c:359:22: warning: ‘lastItem’ may be used uninitialized in this
function
catalog.c: In function ‘getRecordFromPath3’:
catalog.c:464:12: warning: ‘realParent’ may be used uninitialized in this
function
catalog.c: In function ‘removeFile’:
catalog.c:796:6: warning: ‘parentFolder’ may be used uninitialized in this
function
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -Iincludes
-DRUBY_1_9 -o io.o -c io.c
io.c: In function ‘extractBLKX’:
io.c:163:16: warning: comparison between signed and unsigned integer
expressions
<...snip...>
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -I../../c -o
bloopsaphone.o -c bloopsaphone.c
bloopsaphone.c:19:25: warning: missing terminating ' character
bloopsaphone.c: In function ‘bloops_load’:
bloopsaphone.c:418:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:423:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:426:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:427:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:428:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:429:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:430:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:431:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:432:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:434:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:435:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:436:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:438:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:439:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:440:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:441:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:443:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:444:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:445:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:446:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:447:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:449:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:450:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:452:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:453:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
bloopsaphone.c:454:8: warning: ignoring return value of ‘fread’, declared
with attribute warn_unused_result
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -I../../c -o
notation.o -c notation.c
c/notation.rl: In function ‘bloops_track’:
c/notation.rl:116:8: warning: ‘tone’ may be used uninitialized in this
function
c/notation.rl:116:14: warning: ‘mod’ may be used uninitialized in this
function
c/notation.rl: In function ‘bloops_sound_file’:
c/notation.rl:353:9: warning: ‘fval’ may be used uninitialized in this
function
c/notation.rl:354:9: warning: ‘key’ may be used uninitialized in this
function
c/notation.rl:355:24: warning: ‘pf’ may be used uninitialized in this
function
c/notation.rl:356:17: warning: ‘P’ may be used uninitialized in this
function
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -I../../c -o
rubyext.o -c rubyext.c
rubyext.c: In function ‘Init_bloops’:
rubyext.c:237:3: warning: passing argument 3 of ‘bloops_track2’ discards
qualifiers from pointer target type
bloopsaphone.h:94:15: note: expected ‘char *’ but argument is of type ‘const
char *’
<...snip...>
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -o hpricot_css.o -c
hpricot_css.c
hpricot_css.c: In function ‘hpricot_css’:
hpricot_css.c:3399:9: warning: comparison between pointer and integer
hpricot_css.c:3399:9: warning: ‘eof’ may be used uninitialized in this
function
hpricot_css.rl:91:16: note: ‘eof’ was declared here
hpricot_css.rl:92:28: warning: ‘aps’ may be used uninitialized in this
function
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -o hpricot_scan.o -c
hpricot_scan.c
hpricot_scan.rl: In function ‘hpricot_scan’:
hpricot_scan.rl:73:20: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:12:19: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:73:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:73:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:73:16: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:46:4: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:46:4: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:51:20: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:51:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:51:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:51:16: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:56:20: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:56:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:56:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:56:16: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:61:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:61:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:61:16: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl:549:14: warning: ordered comparison of pointer with integer
zero
hpricot_scan.rl: In function ‘alloc_hpricot_struct’:
hpricot_scan.rl:614:3: warning: ‘rb_struct_iv_get’ is deprecated (declared
at
/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/intern.h:749)
<...snip...>
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -Wall -o generator.o
-c generator.c
generator.c:11:18: warning: extra tokens at end of #ifndef directive
<...snip...>
gcc -I.
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/i686-linux
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/eric/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter
-Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wno-long-long -fPIC -Wall -o parser.o -c
parser.c
parser.rl:9:18: warning: extra tokens at end of #ifndef directive
Re: [shoes] Compiling on ubuntu 11.04
- From:
- Steve Klabnik
- Date:
- 2011-07-21 @ 16:43
There are a lot of warnings. I'd love to have them gone. :)
Let me know if I can help you with that.
Re: [shoes] Compiling on ubuntu 11.04
- From:
- Saurabh Bhatia
- Date:
- 2011-07-21 @ 17:27
Okay I tried compiling shoes on on Ubuntu 11.04
I compiled it with rvm, ruby 1.9.2-p180 , a couple of warnings seem to be
same
https://gist.github.com/1097693
If someone wants to get along hacking into this maybe we can pair up and
work on it sometime, drop me a line and we can meetup on irc.
Maybe we can also work on a new generic linux package.
On Thu, Jul 21, 2011 at 10:13 PM, Steve Klabnik <steve@steveklabnik.com>wrote:
> There are a lot of warnings. I'd love to have them gone. :)
>
> Let me know if I can help you with that.
>
--
Best Regards
Saurabh
http://about.me/rootuser
Re: [shoes] Compiling on ubuntu 11.04
- From:
- Steve Klabnik
- Date:
- 2011-07-21 @ 17:45
That'd be great. Ill take a look at my schedule and email you.
I can't wait for these next two weeks to be up.
On Jul 21, 2011 1:28 PM, "Saurabh Bhatia" <saurabh.a.bhatia@gmail.com>
wrote:
> Okay I tried compiling shoes on on Ubuntu 11.04
>
> I compiled it with rvm, ruby 1.9.2-p180 , a couple of warnings seem to be
> same
>
> https://gist.github.com/1097693
>
> If someone wants to get along hacking into this maybe we can pair up and
> work on it sometime, drop me a line and we can meetup on irc.
>
> Maybe we can also work on a new generic linux package.
>
> On Thu, Jul 21, 2011 at 10:13 PM, Steve Klabnik <steve@steveklabnik.com
>wrote:
>
>> There are a lot of warnings. I'd love to have them gone. :)
>>
>> Let me know if I can help you with that.
>>
>
>
>
> --
> Best Regards
>
> Saurabh
> http://about.me/rootuser
Re: [shoes] Compiling on ubuntu 11.04
- From:
- Saurabh Bhatia
- Date:
- 2011-07-21 @ 18:02
Sure ..sounds good
On Thu, Jul 21, 2011 at 11:15 PM, Steve Klabnik <steve@steveklabnik.com>wrote:
> That'd be great. Ill take a look at my schedule and email you.
>
> I can't wait for these next two weeks to be up.
> On Jul 21, 2011 1:28 PM, "Saurabh Bhatia" <saurabh.a.bhatia@gmail.com>
> wrote:
> > Okay I tried compiling shoes on on Ubuntu 11.04
> >
> > I compiled it with rvm, ruby 1.9.2-p180 , a couple of warnings seem to be
> > same
> >
> > https://gist.github.com/1097693
> >
> > If someone wants to get along hacking into this maybe we can pair up and
> > work on it sometime, drop me a line and we can meetup on irc.
> >
> > Maybe we can also work on a new generic linux package.
> >
> > On Thu, Jul 21, 2011 at 10:13 PM, Steve Klabnik <steve@steveklabnik.com
> >wrote:
> >
> >> There are a lot of warnings. I'd love to have them gone. :)
> >>
> >> Let me know if I can help you with that.
> >>
> >
> >
> >
> > --
> > Best Regards
> >
> > Saurabh
> > http://about.me/rootuser
>
--
Best Regards
Saurabh
http://about.me/rootuser