Chameleon

Issue 295: Compile Error

Reported by makom leroy, Nov 1, 2012

Laptop:Chameleon-2.1 leroy$ make
	[MKDIR] /Users/leroy/Desktop/Chameleon-2.1/sym
	[MKDIR] /Users/leroy/Desktop/Chameleon-2.1/obj
================= Making all in i386 =================
	[MKDIR] /Users/leroy/Desktop/Chameleon-2.1/sym/i386
	[MKDIR] /Users/leroy/Desktop/Chameleon-2.1/obj/i386/modules
================= Making all in KernelPatcher =================
	[MKDIR] 
/Users/leroy/Desktop/Chameleon-2.1/obj/i386/boot2_modules/KernelPatch
er
	[CP] KernelPatcher.dylib
================= Making all in klibc =================
================= Making all in uClibcxx =================
================= Making all in Resolution =================
================= Making all in Keylayout =================
================= Making all in layouts =================
	[MKDIR] /Users/leroy/Desktop/Chameleon-2.1/obj/i386/util
	[CC32] cham-mklayout.c
	[CC64] cham-mklayout.c
	[LD32] cham-mklayout_32
	[LD64] cham-mklayout_64
	[LIPO] cham-mklayout
	[LAYOUT] Creating keyboard layout: mac-de
	[LAYOUT] Creating keyboard layout: mac-es
	[LAYOUT] Creating keyboard layout: mac-fr
	[LAYOUT] Creating keyboard layout: mac-it
	[LAYOUT] Creating keyboard layout: mac-se
	[LAYOUT] Creating keyboard layout: pc-fr
================= Making all in Sata =================
================= Making all in AcpiCodec =================
================= Making all in util =================
	[CC32] dyldsymboltool.c
In file included from /usr/include/sys/types.h:260,
                 from /usr/include/sys/file.h:68,
                 from dyldsymboltool.c:14:
/usr/include/sys/_structs.h:200:14: error: operator '>' has no 
left operand
make[3]: *** 
[/Users/leroy/Desktop/Chameleon-2.1/obj/i386/util/dyldsymboltool.o32]
 Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 
no more able to compile the source code ???
few weeks ago it all works perfectly (sry for bad eng)

Comment 1 by Cosmosis Jones, Nov 1, 2012

what branch? (if it's the trunk, what rev#)
what xcode version?
what OS version?

Please provide useful information
Status: AwaitingInformation

Comment 2 by makom leroy, Nov 1, 2012

sorry for the missing information I am newbie

OS X 10.5.8
xcode 3.1.2
trunk rev 2113 (but it also gave me the error with the rev 684 wich 
I already compiled a year ago)

Comment 3 by Konstantinos Giannakas, Nov 1, 2012

I confirm the error, too, on 10.6.8 with Xcode's gcc version 4.2.1 
(Apple Inc. build 5666).

================= Making all in boot2 =================
	[CC] 
/Volumes/Workbench/Programming/assembla/chameleon/sym/i386/boot_modul
es.c
	[LD] boot.sys
	[dyldsymboltool] Symbols.dylib
	[LD] boot.sys
ld: warning: -segaddr __INIT not page aligned, rounding down
ld: warning: -segaddr __TEXT not page aligned, rounding down
ld: warning: -segaddr __DATA not page aligned, rounding down
ld: segments overlap: __DATA (0x0005DFFE + 0x0000F000) and 
__LINKEDIT (0x0005E000 + 0x00001000)
collect2: ld returned 1 exit status
make[3]: *** [boot] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Comment 4 by Evan Lojewski, Nov 1, 2012

Konstantinos Giannakas,

That is a different error and a seperate issue, please create a new 
bug report.

Comment 5 by Konstantinos Giannakas, Nov 1, 2012

I apologize. I will create it ASAP. Thanks, Evan.

Comment 6 by makom leroy, Nov 3, 2012

I apologize for the missing information here they are
I am runnig OS X 10.5.8 the Xcode is 3.1.2 
and chameleon trunk rev 2113
if you need more information please let me know
Thanks for the great work

Comment 7 by Evan Lojewski, Nov 4, 2012

Would you please post a copy of the /usr/include/sys/_structs.h file

Thanks

Comment 8 by makom leroy, Nov 4, 2012

here is the file

Comment 9 by Evan Lojewski, Nov 4, 2012

I'll see if I can setup a test box later today to verify and fix the 
issue

Comment 10 by Cosmosis Jones, Jan 31, 2013

No movement
Status: Invalid

Created: 11 years 6 months ago by makom leroy

Updated: 11 years 3 months ago

Status: Invalid

Followed by: 3 persons

Labels:
Priority:Medium
Type:Defect