Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 01:10:32 -0500 (EST)
From:      parv@pair.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/61290: x11-wm/treewm - build fails while compiling dsimple.c on (re|m)alloc issues
Message-ID:  <20040113061032.EF537A370@moo.holy.cow>
Resent-Message-ID: <200401130620.i0D6KHoc022267@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61290
>Category:       ports
>Synopsis:       x11-wm/treewm - build fails while compiling dsimple.c on (re|m)alloc issues
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 12 22:20:17 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     parv
>Release:        FreeBSD 4.8-RELEASE-p14 i386
>Organization:
>Environment:

bash 2.05 is root's shell & ports updated as of UTC.

>Description:

Build fails so...

  cc -O -pipe -march=pentiumpro       -I/usr2/X11R6/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO       -c -o dsimple.o dsimple.c
  dsimple.c: In function `Malloc':
  dsimple.c:72: conflicting types for `malloc'
  /usr/include/stdlib.h:101: previous declaration of `malloc'
  dsimple.c:72: warning: extern declaration of `malloc' doesn't match global one
  dsimple.c: In function `Realloc':
  dsimple.c:88: conflicting types for `realloc'
  /usr/include/stdlib.h:105: previous declaration of `realloc'
  dsimple.c:88: warning: extern declaration of `realloc' doesn't match global one
  gmake[1]: *** [dsimple.o] Error 1
  gmake[1]: Leaving directory `/cdrw/port-work/usr3/ports/x11-wm/treewm/work/treewm-0.4.5/xprop'
  gmake: *** [xprop] Error 2
  *** Error code 2


>How-To-Repeat:

Update ports to above date, and...

  cd /usr/ports/x11-wm/treewm && make

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



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