Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2016 16:05:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 210453] databases/postgis22: compile error:  unknown type name 'LWORD'
Message-ID:  <bug-210453-13-gb1lOL4ZJd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210453-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210453-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210453

Robert Kruus <robert.kruus@utoronto.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robert.kruus@utoronto.ca

--- Comment #2 from Robert Kruus <robert.kruus@utoronto.ca> ---
The problem is due to the order of the includes in the compile statement:

cc -O2 -pipe -O3 -march=3Dnative  -I/usr/local/include -fstack-protector
-fno-strict-aliasing -I../liblwgeom -I/usr/local/include/postgresql/server=
=20=20
-fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o gserialized_gist.o
gserialized_gist.c

moving the "-I/usr/local/include" to after the "-I../liblwgeom" in the comp=
ile
fixes the issue as it will use the newer header files.

cc -O2 -pipe -O3 -march=3Dnative   -fstack-protector -fno-strict-aliasing
-I../liblwgeom -I/usr/local/include/postgresql/server -I/usr/local/include=
=20
-fPIC -DPIC  -Wall -Wmissing-prototypes  -c -o gserialized_gist.o
gserialized_gist.c

The fix would be to patch the Makefile in appropriate directory.

Might try to kludge an example fix together.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210453-13-gb1lOL4ZJd>