Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Sep 1998 22:05:37 -0400 (EDT)
From:      Simon Shapiro <shimon@simon-shapiro.org>
To:        freebsd-current@FreeBSD.ORG
Subject:   Make Release under ELF
Message-ID:  <XFMail.980908220537.shimon@simon-shapiro.org>

next in thread | raw e-mail | index | archive | help
Last night's cvsup, make buildworld completes OK,
Am getting in make release:

===>  Building for perl-5.00502
`sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
`sh  cflags libperl.a perl.o`  perl.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
perl.c: In function `perl_parse':
perl.c:681: warning: passing arg 1 of `time' from incompatible pointer type
`sh  cflags libperl.a gv.o`  gv.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
`sh  cflags libperl.a toke.o`  toke.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
`sh  cflags libperl.a perly.o`  perly.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
`sh  cflags libperl.a op.o`  op.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
`sh  cflags libperl.a regcomp.o`  regcomp.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
`sh  cflags libperl.a dump.o`  dump.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
`sh  cflags libperl.a util.o`  util.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O2 -pipe   
util.c: In function `vsprintf':
util.c:1639: structure has no member named `_ptr'
util.c:1640: structure has no member named `_cnt'
util.c:1644: structure has no member named `_flag'
util.c:1644: `_IOWRT' undeclared (first use this function)
util.c:1644: (Each undeclared identifier is reported only once
util.c:1644: for each function it appears in.)
*** Error code 1

In /usr/ports, perl's make prduces:

Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [ -L/usr/local/lib]  
Checking your choice of C compiler and flags for coherency...
I've tried to compile and run a simple program with:

        cc -O -pipe -I/usr/local/include -o try -L/usr/local/lib try.c
-lgdbm -ldb -lm -lc -lcrypt
        ./try

and I got the following output:

/usr/local/lib/libgdbm.so: file not recognized: File format not recognized
I can't compile the test program.
You have a BIG problem.  Shall I abort Configure [y]  
Ok.  Stopping Configure.
*** Error code 1

But that could be due to libgdbm being a.out...  Not quite:

`sh  cflags libperl.a util.o`  util.c
          CCCMD =  cc -DPERL_CORE -c -I/usr/local/include -O -pipe   
util.c: In function `vsprintf':
util.c:1639: structure has no member named `_ptr'
util.c:1640: structure has no member named `_cnt'
util.c:1644: structure has no member named `_flag'
util.c:1644: `_IOWRT' undeclared (first use this function)
util.c:1644: (Each undeclared identifier is reported only once
util.c:1644: for each function it appears in.)
*** Error code 1

So, saomething is rather broken here...




Sincerely Yours,                 Shimon@Simon-Shapiro.ORG
                                             770.265.7340
Simon Shapiro

Unwritten code has no bugs and executes at twice the speed of mouth


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980908220537.shimon>