Jump to content

Chameleon 2.3svn Official PKG Installer & Binaries

Bootloader Chameleon

  • Please log in to reply
2885 replies to this topic

#2881
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,819 posts
  • Gender:Male
  • Location:Canary Islands

@ErmaC
r2656 now works because of r2646 commit
Thanks!


Yep I know... But Bronya try to fix the problem w/o "lost" the 2602 commit...
That's why I'm asking...
I'm unable to test it on my hardware, because seems the problem of alloc memory is on not recently platform...

ErmaC

#2882
wartomato

wartomato

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Germany

hi there,

 

anybody else gets this error while trying to compile trunk r2656?

 

================= Making all in util =================
[CC32] dyldsymboltool.c
[CC64] dyldsymboltool.c
[CC32] machOconv.c
[CC64] machOconv.c
[CC32] segsize.c
[CC64] segsize.c
[CC32] bdmesg.c
[CC64] bdmesg.c
[CC32] sectorsize.c
sectorsize.c:122:61: error: comparison of constant -1 with boolean expression is always true [-Werror,-Wtautological-constant-out-of-range-compare]
    } else if (!ioctl(diskdevice, DKIOCGETBLOCKSIZE, &size) != -1) {
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~
1 error generated.


#2883
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 2,252 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe

Hi wartomato is my bad​ :blush:  , go in /i386/util/sectorsize.c and at line 122

 

change
 
        } else if (!ioctl(diskdevice, DKIOCGETBLOCKSIZE, &size) != -1) {

to
        } else if (ioctl(diskdevice, DKIOCGETBLOCKSIZE, &size) != -1) {

 
 
delete the extra "!". hope that now works



#2884
wartomato

wartomato

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 102 posts
  • Gender:Male
  • Location:Germany

Hi wartomato is my bad​ :blush:  , go in /i386/util/sectorsize.c and at line 122

 

change
 
        } else if (!ioctl(diskdevice, DKIOCGETBLOCKSIZE, &size) != -1) {

to
        } else if (ioctl(diskdevice, DKIOCGETBLOCKSIZE, &size) != -1) {

 
 
delete the extra "!". hope that now works

Hi Micky,

 

all good. Anyone can make typo errors.

 

... I already changed this and built successful.

(I wanted to post this this second, but you answered faster than lightning (or myself).

:)  :)



#2885
Micky1979

Micky1979

    I realized that I am lucky

  • Moderators
  • 2,252 posts
  • Gender:Male
  • Location:a 100m dal Tevere, vicino a Peppe

Yep was like to say "is always true because if false is equal to false...then is true" :hysterical:

 

@ErmaC please make this correction :D



#2886
ErmaC

ErmaC

    127.0.0.1

  • Supervisors
  • 4,819 posts
  • Gender:Male
  • Location:Canary Islands

Yep was like to say "is always true because if false is equal to false...then is true" :hysterical:
 
@ErmaC please make this correction :D


Done! 2657

 

ErmaC







Also tagged with one or more of these keywords: Bootloader, Chameleon


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy