X-Original-To: pgsql-ports-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id CB2D59FA226 for ; Fri, 12 May 2006 12:09:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 92604-07 for ; Fri, 12 May 2006 12:09:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from ucsns.ucs.co.za (ucsns.ucs.co.za [196.23.43.2]) by postgresql.org (Postfix) with ESMTP id C19C09F944D for ; Fri, 12 May 2006 12:09:38 -0300 (ADT) Received: from ucspost.ucs.co.za (ucspost.ucs.co.za [196.23.43.3]) by ucsns.ucs.co.za (Postfix) with ESMTP id A2EE52BD4A; Fri, 12 May 2006 17:09:36 +0200 (SAST) Received: from jhb.ucs.co.za (jhb.ucs.co.za [172.31.1.3]) by ucspost.ucs.co.za (Postfix) with ESMTP id 2E3CCD9DF2; Fri, 12 May 2006 17:09:36 +0200 (SAST) Received: from [172.31.1.156] (mdc.ucs.co.za [172.31.1.156]) by jhb.ucs.co.za (Postfix) with ESMTP id 1FE6897D73; Fri, 12 May 2006 17:09:36 +0200 (SAST) Message-ID: <4464A425.2020400@ucs-software.co.za> Date: Fri, 12 May 2006 17:05:09 +0200 From: Mark Campbell User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Tom Lane Cc: pgsql-ports@postgresql.org Subject: Re: Compiling on 8.1.3 on Openserver 5.05 References: <4463437E.5020108@ucs-software.co.za> <6844.1147359792@sss.pgh.pa.us> <44635654.6000904@ucs-software.co.za> <14842.1147368177@sss.pgh.pa.us> <44638C47.6010707@ucs-software.co.za> <26180.1147375495@sss.pgh.pa.us> <446394EF.8000509@ucs-software.co.za> <4219.1147377106@sss.pgh.pa.us> <446443E5.2000309@ucs-software.co.za> <23936.1147442272@sss.pgh.pa.us> In-Reply-To: <23936.1147442272@sss.pgh.pa.us> Content-Type: multipart/alternative; boundary="------------050309060604020107050509" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/25 X-Sequence-Number: 2406 This is a multi-part message in MIME format. --------------050309060604020107050509 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thanks very much with your patience and help. I cannot reinstall this machine as it belongs to my client, but I was going to try and make our lives easier (the developers) who have to maintain the whole system Regards Mark Campbell mark.campbell@ucs-software.co.za (011) 712 1521 Confidentiality Notice: http://ucs.co.za/conf.html Tom Lane wrote: > Mark Campbell writes: > >> gcc -b elf -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline >> -fno-strict-aliasing -I../../../../src/include -c -o xlog.o xlog.c >> /usr/tmp/cczOwssE.s:651:syntax error at name: f >> /usr/tmp/cczOwssE.s:654:syntax error at integer constant: 1 >> /usr/tmp/cczOwssE.s:1092:syntax error at name: f >> /usr/tmp/cczOwssE.s:1095:syntax error at integer constant: 1 >> /usr/tmp/cczOwssE.s:1541:syntax error at name: f >> /usr/tmp/cczOwssE.s:1544:syntax error at integer constant: 1 >> /usr/tmp/cczOwssE.s:2218:syntax error at name: f >> /usr/tmp/cczOwssE.s:2221:syntax error at integer constant: 1 >> /usr/tmp/cczOwssE.s:2327:syntax error at name: f >> /usr/tmp/cczOwssE.s:2330:syntax error at integer constant: 1 >> /usr/tmp/cczOwssE.s:10457:syntax error at name: f >> /usr/tmp/cczOwssE.s:10460:syntax error at integer constant: 1 >> /usr/tmp/cczOwssE.s:10732:syntax error at name: f >> /usr/tmp/cczOwssE.s:10735:syntax error at integer constant: 1 >> gmake[4]: *** [xlog.o] Error 1 >> > > I'm coming to the conclusion that there's something seriously broken > about your system. You were having trouble with gcc back at the > beginning, IIRC, and seeing it emit malformed assembly code (which > seems to be what's happening above) is certainly something that should > never happen. So you've got a borked compiler and/or assembler, > no ar, headers that don't even come close to following the Single > Unix Spec ... if I were you I'd get something more standard, or > at least more up-to-date. You're going to have trouble building > *any* nontrivial software on that thing. > > Reading between the lines, I surmise that you initially had an > installation without development tools (ar is certainly on the > short list of things that MUST be there to do any development). > It could be that some of the breakage is due to piecemeal addition > of devel tools. If so, it might help to reinstall the system from > the ground up, being sure to select all the devel tools this time. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 6: explain analyze is your friend > --------------050309060604020107050509 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thanks very much with your patience and help.

I cannot reinstall this machine as it belongs to my client, but I was going to try and make our lives easier (the developers) who have to maintain the whole system

Regards
Mark Campbell
mark.campbell@ucs-software.co.za
(011) 712 1521

Confidentiality Notice: http://ucs.co.za/conf.html


Tom Lane wrote:
Mark Campbell <mark.campbell@ucs-software.co.za> writes:
  
gcc -b elf -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline 
-fno-strict-aliasing -I../../../../src/include   -c -o xlog.o xlog.c
/usr/tmp/cczOwssE.s:651:syntax error at name: f
/usr/tmp/cczOwssE.s:654:syntax error at integer constant: 1
/usr/tmp/cczOwssE.s:1092:syntax error at name: f
/usr/tmp/cczOwssE.s:1095:syntax error at integer constant: 1
/usr/tmp/cczOwssE.s:1541:syntax error at name: f
/usr/tmp/cczOwssE.s:1544:syntax error at integer constant: 1
/usr/tmp/cczOwssE.s:2218:syntax error at name: f
/usr/tmp/cczOwssE.s:2221:syntax error at integer constant: 1
/usr/tmp/cczOwssE.s:2327:syntax error at name: f
/usr/tmp/cczOwssE.s:2330:syntax error at integer constant: 1
/usr/tmp/cczOwssE.s:10457:syntax error at name: f
/usr/tmp/cczOwssE.s:10460:syntax error at integer constant: 1
/usr/tmp/cczOwssE.s:10732:syntax error at name: f
/usr/tmp/cczOwssE.s:10735:syntax error at integer constant: 1
gmake[4]: *** [xlog.o] Error 1
    

I'm coming to the conclusion that there's something seriously broken
about your system.  You were having trouble with gcc back at the
beginning, IIRC, and seeing it emit malformed assembly code (which
seems to be what's happening above) is certainly something that should
never happen.  So you've got a borked compiler and/or assembler,
no ar, headers that don't even come close to following the Single
Unix Spec ... if I were you I'd get something more standard, or
at least more up-to-date.  You're going to have trouble building
*any* nontrivial software on that thing.

Reading between the lines, I surmise that you initially had an
installation without development tools (ar is certainly on the
short list of things that MUST be there to do any development).
It could be that some of the breakage is due to piecemeal addition
of devel tools.  If so, it might help to reinstall the system from
the ground up, being sure to select all the devel tools this time.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend
  
--------------050309060604020107050509--