{"thread":{"id":"20454","subject":"Problem compiling git-1.6.4 on OpenServer 6.0","startedAt":"2009-08-07T19:27:51Z","lastAt":"2009-08-08T16:14:32Z","messageCount":7,"participants":["Boyd Lynn Gerber","Junio C Hamano","Brandon Casey"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"119919","messageId":"alpine.LNX.2.00.0908071326250.13290@suse104.zenez.com","threadId":"20454","inReplyTo":null,"subject":"Problem compiling git-1.6.4 on OpenServer 6.0","fromName":"Boyd Lynn Gerber","fromEmail":"gerberb@zenez.com","sentAt":"2009-08-07T19:27:51Z","receivedAt":"2009-08-07T19:27:51Z","isPatch":false,"sender":{"key":"gerberb@zenez.com","avatar":null},"body":"Hello,\n\nI just tried to compile the latest git and I get this error.\n\nCC builtin-pack-objects.o\nUX:acomp: ERROR: \"builtin-pack-objects.c\", line 1602: integral constant \nexpression expected\ngmake: *** [builtin-pack-objects.o] Error 1\n\nI will look into it when I have a bit more time, but this is a heads up.\n\nThanks,\n\n-- \nBoyd Gerber <gerberb@zenez.com> 801 849-0213\nZENEZ\t1042 East Fort Union #135, Midvale Utah  84047\n"},{"id":"119924","messageId":"7v8whvv142.fsf@alter.siamese.dyndns.org","threadId":"20454","inReplyTo":"alpine.LNX.2.00.0908071326250.13290@suse104.zenez.com","subject":"Re: Problem compiling git-1.6.4 on OpenServer 6.0","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-08-07T20:07:57Z","receivedAt":"2009-08-07T20:07:57Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Boyd Lynn Gerber <gerberb@zenez.com> writes:\n\n> I just tried to compile the latest git and I get this error.\n>\n> CC builtin-pack-objects.o\n> UX:acomp: ERROR: \"builtin-pack-objects.c\", line 1602: integral\n> constant expression expected\n\nI think we recently acquired another instance of variable sized array on\nthe stack in addition to this one.\n"},{"id":"119933","messageId":"cY-iS6BS6knyjPKeVQI3ZIsIw3A3y5VK1oW-MNzUUztRn8CbeqRdew@cipher.nrlssc.navy.mil","threadId":"20454","inReplyTo":"alpine.LNX.2.00.0908071326250.13290@suse104.zenez.com","subject":"Re: Problem compiling git-1.6.4 on OpenServer 6.0","fromName":"Brandon Casey","fromEmail":"brandon.casey.ctr@nrlssc.navy.mil","sentAt":"2009-08-07T20:53:18Z","receivedAt":"2009-08-07T20:53:18Z","isPatch":false,"sender":{"key":"brandon.casey.ctr@nrlssc.navy.mil","avatar":null},"body":"Boyd Lynn Gerber wrote:\n> Hello,\n> \n> I just tried to compile the latest git and I get this error.\n> \n> CC builtin-pack-objects.o\n> UX:acomp: ERROR: \"builtin-pack-objects.c\", line 1602: integral constant\n> expression expected\n> gmake: *** [builtin-pack-objects.o] Error 1\n> \n> I will look into it when I have a bit more time, but this is a heads up.\n\nDid you set THREADED_DELTA_SEARCH=1 when you compiled?  That could be the\nproblem.\n\nLine 1602 of builtin-pack-objects.c is wrapped in #ifdef THREADED_DELTA_SEARCH,\nso it is only compiled if THREADED_DELTA_SEARCH has been set.  Also, it's not\na new line, it has been around since 2007.\n\n-brandon\n"},{"id":"119934","messageId":"alpine.LNX.2.00.0908071511390.13290@suse104.zenez.com","threadId":"20454","inReplyTo":"cY-iS6BS6knyjPKeVQI3ZIsIw3A3y5VK1oW-MNzUUztRn8CbeqRdew@cipher.nrlssc.navy.mil","subject":"Re: Problem compiling git-1.6.4 on OpenServer 6.0","fromName":"Boyd Lynn Gerber","fromEmail":"gerberb@zenez.com","sentAt":"2009-08-07T21:15:38Z","receivedAt":"2009-08-07T21:15:38Z","isPatch":false,"sender":{"key":"gerberb@zenez.com","avatar":null},"body":"On Fri, 7 Aug 2009, Brandon Casey wrote:\n> Boyd Lynn Gerber wrote:\n>>\n>> I just tried to compile the latest git and I get this error.\n>>\n>> CC builtin-pack-objects.o\n>> UX:acomp: ERROR: \"builtin-pack-objects.c\", \n>> line 1602: integral constant expression expected gmake: *** \n>> [builtin-pack-objects.o] Error 1\n>>\n>> I will look into it when I have a bit more time, but this is a heads up.\n>\n> Did you set THREADED_DELTA_SEARCH=1 when you compiled?  That could be \n> the problem.\n>\n> Line 1602 of builtin-pack-objects.c is wrapped in #ifdef THREADED_DELTA_SEARCH,\n> so it is only compiled if THREADED_DELTA_SEARCH has been set.  Also, it's not\n> a new line, it has been around since 2007.\n\nYes, that is the problem it was set.  The OS has kernel threads and all \nmust be accessed by -Kthread and no -pthread when linking.\n\nThanks for the hnt...\n\n\n-- \nBoyd Gerber <gerberb@zenez.com> 801 849-0213\nZENEZ\t1042 East Fort Union #135, Midvale Utah  84047\n"},{"id":"119936","messageId":"alpine.LNX.2.00.0908071523550.13290@suse104.zenez.com","threadId":"20454","inReplyTo":"cY-iS6BS6knyjPKeVQI3ZIsIw3A3y5VK1oW-MNzUUztRn8CbeqRdew@cipher.nrlssc.navy.mil","subject":"Re: Problem compiling git-1.6.4 on OpenServer 6.0","fromName":"Boyd Lynn Gerber","fromEmail":"gerberb@zenez.com","sentAt":"2009-08-07T21:25:46Z","receivedAt":"2009-08-07T21:25:46Z","isPatch":false,"sender":{"key":"gerberb@zenez.com","avatar":null},"body":"On Fri, 7 Aug 2009, Brandon Casey wrote:\n> Boyd Lynn Gerber wrote:\n>> I just tried to compile the latest git and I get this error.\n>>\n>> CC builtin-pack-objects.o\n>> UX:acomp: ERROR: \"builtin-pack-objects.c\", line 1602: integral constant\n>> expression expected\n>> gmake: *** [builtin-pack-objects.o] Error 1\n>>\n>> I will look into it when I have a bit more time, but this is a heads up.\n>\n> Did you set THREADED_DELTA_SEARCH=1 when you compiled?  That could be the\n> problem.\n>\n> Line 1602 of builtin-pack-objects.c is wrapped in #ifdef THREADED_DELTA_SEARCH,\n> so it is only compiled if THREADED_DELTA_SEARCH has been set.  Also, it's not\n> a new line, it has been around since 2007.\n\nRemoving it and the -pthread allows it to build.  I am now running the \ntests.  The I need to find out why it is being set.\n\nThanks,\n\n\n-- \nBoyd Gerber <gerberb@zenez.com> 801 849-0213\nZENEZ\t1042 East Fort Union #135, Midvale Utah  84047\n"},{"id":"119937","messageId":"DHem56NUSFhg2VqQu1N0qVr3U86qJOp4OZZAEwV2Edz0-YuWJpDtgA@cipher.nrlssc.navy.mil","threadId":"20454","inReplyTo":"alpine.LNX.2.00.0908071523550.13290@suse104.zenez.com","subject":"Re: Problem compiling git-1.6.4 on OpenServer 6.0","fromName":"Brandon Casey","fromEmail":"brandon.casey.ctr@nrlssc.navy.mil","sentAt":"2009-08-07T21:36:02Z","receivedAt":"2009-08-07T21:36:02Z","isPatch":false,"sender":{"key":"brandon.casey.ctr@nrlssc.navy.mil","avatar":null},"body":"Boyd Lynn Gerber wrote:\n> On Fri, 7 Aug 2009, Brandon Casey wrote:\n>> Boyd Lynn Gerber wrote:\n>>> I just tried to compile the latest git and I get this error.\n>>>\n>>> CC builtin-pack-objects.o\n>>> UX:acomp: ERROR: \"builtin-pack-objects.c\", line 1602: integral constant\n>>> expression expected\n>>> gmake: *** [builtin-pack-objects.o] Error 1\n>>>\n>>> I will look into it when I have a bit more time, but this is a heads up.\n>>\n>> Did you set THREADED_DELTA_SEARCH=1 when you compiled?  That could be the\n>> problem.\n>>\n>> Line 1602 of builtin-pack-objects.c is wrapped in #ifdef\n>> THREADED_DELTA_SEARCH,\n>> so it is only compiled if THREADED_DELTA_SEARCH has been set.  Also,\n>> it's not\n>> a new line, it has been around since 2007.\n> \n> Removing it and the -pthread allows it to build.  I am now running the\n> tests.  The I need to find out why it is being set.\n\nDid you run configure?  which generates a config.mak.autogen file?\nThere were some changes related to pthreads in configure.ac in March,\nand another back in Nov 2008.  Specifically commits 1973b0d7, and\nd937c374.\n\n-brandon\n"},{"id":"119993","messageId":"alpine.LNX.2.00.0908081013090.13290@suse104.zenez.com","threadId":"20454","inReplyTo":"DHem56NUSFhg2VqQu1N0qVr3U86qJOp4OZZAEwV2Edz0-YuWJpDtgA@cipher.nrlssc.navy.mil","subject":"Re: Problem compiling git-1.6.4 on OpenServer 6.0","fromName":"Boyd Lynn Gerber","fromEmail":"gerberb@zenez.com","sentAt":"2009-08-08T16:14:32Z","receivedAt":"2009-08-08T16:14:32Z","isPatch":false,"sender":{"key":"gerberb@zenez.com","avatar":null},"body":"On Fri, 7 Aug 2009, Brandon Casey wrote:\n> Boyd Lynn Gerber wrote:\n>> On Fri, 7 Aug 2009, Brandon Casey wrote:\n>>> Boyd Lynn Gerber wrote:\n>>>> I just tried to compile the latest git and I get this error.\n>>>>\n>>>> CC builtin-pack-objects.o\n>>>> UX:acomp: ERROR: \"builtin-pack-objects.c\", line 1602: integral constant\n>>>> expression expected\n>>>> gmake: *** [builtin-pack-objects.o] Error 1\n>>>>\n>>>> I will look into it when I have a bit more time, but this is a heads up.\n>>>\n>>> Did you set THREADED_DELTA_SEARCH=1 when you compiled?  That could be the\n>>> problem.\n>>>\n>>> Line 1602 of builtin-pack-objects.c is wrapped in #ifdef\n>>> THREADED_DELTA_SEARCH,\n>>> so it is only compiled if THREADED_DELTA_SEARCH has been set.  Also,\n>>> it's not\n>>> a new line, it has been around since 2007.\n>>\n>> Removing it and the -pthread allows it to build.  I am now running the\n>> tests.  The I need to find out why it is being set.\n>\n> Did you run configure?  which generates a config.mak.autogen file?\n> There were some changes related to pthreads in configure.ac in March,\n> and another back in Nov 2008.  Specifically commits 1973b0d7, and\n> d937c374.\n\nYes, I am working through them and will submit a patch once I get it \nworking properly without breaking someone elses configuration.\n\nThanks,\n\n-- \nBoyd Gerber <gerberb@zenez.com> 801 849-0213\nZENEZ\t1042 East Fort Union #135, Midvale Utah  84047\n"}]}