[PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

View: New views
8 Messages — Rating Filter:   Alert me  

[PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
---------------------+------------------------------------------------------
 Reporter:  pramsey  |       Owner:  mcayland    
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  postgis 1.4.0
Component:  postgis  |     Version:  1.4          
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 gcc -g -O2  -fPIC -DPIC  -Wall -Wmissing-prototypes shpopen.o dbfopen.o
 getopt.o shp2pgsql.o ../liblwgeom/liblwgeom.a  -lm -o shp2pgsql
 ../liblwgeom/liblwgeom.a(vsprintf.o)(.text+0x1c): In function
 `lw_vasprintf':
 /usr/src/smit/postgis-1.4.0rc1/liblwgeom/vsprintf.c:150: undefined
 reference to `__va_copy'
 gmake[1]: *** [shp2pgsql] Error 1
 gmake[1]: Leaving directory `/usr/src/smit/postgis-1.4.0rc1/loader'
 gmake: *** [loaderdumper] Error 2
 gmake -C liblwgeom
 }}}

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  mcayland    
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by pramsey):

 OS/X does not complain about this patch.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  mcayland    
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by pramsey):

 OpenSolaris does not complain about this patch.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  mcayland    
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by mcayland):

 Okay great. I seem to remember something in the back of my mind about some
 of the va_args stuff being different between 32-bit/64-bit platforms? Can
 someone check on a 32-bit system and make sure that print output is not
 garbled? (building --with-debug and running a few simple queries would be
 a good test, as I seem to remember that just building was not a good
 enough test to make sure it actually worked).


 ATB,

 Mark.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  mcayland    
      Type:  defect   |      Status:  closed      
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:  fixed    |    Keywords:              
----------------------+-----------------------------------------------------
Changes (by robe):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 Tried under 32-bit and compiled fine.  Did a couple of queries as well and
 compared my results to pre-version results and seemed to come out the
 same.

  tested new loader changes and seemed to work fine too.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  mcayland    
      Type:  defect   |      Status:  closed      
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:  fixed    |    Keywords:              
----------------------+-----------------------------------------------------
Comment (by robe):

 Forgot to mention my 32-bit tests were with binaries I compiled with
 mingW.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  mcayland    
      Type:  defect   |      Status:  reopened    
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:           |    Keywords:              
----------------------+-----------------------------------------------------
Changes (by robe):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Oops forgot Mark hasn't committed this yet so can't close out until he
 commits to SVN.  Mark can you commit and close out.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217#comment:6>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #217: Compile problem on non-GNU systems (__va_copy)

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#217: Compile problem on non-GNU systems (__va_copy)
----------------------+-----------------------------------------------------
  Reporter:  pramsey  |       Owner:  mcayland    
      Type:  defect   |      Status:  closed      
  Priority:  medium   |   Milestone:  postgis 1.4.0
 Component:  postgis  |     Version:  1.4          
Resolution:  fixed    |    Keywords:              
----------------------+-----------------------------------------------------
Changes (by mcayland):

  * status:  reopened => closed
  * resolution:  => fixed

Comment:

 Sorry - was out in meetings all day yesterday.

 Applied to 1.4 branch and trunk as r4263 and r4264 respectively.


 ATB,

 Mark.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/217#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel