[Nanocubes-discuss] build error after pull

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Nanocubes-discuss] build error after pull

Stephen Frowe Ingram

Hi all,

Wanted to play with the latest version of nanocubes so I did a "git pull"
and then the standard build instructions and I received the following
error message

When I executed the following:

ncbuild q29 c1 c1 u2 u8

I was met with:

/tmp/ccNY70vI.o: In function `NanoCubeServer::serveTile(Request&)':
nc.cc:(.text+0x5304): undefined reference to `maps::Tile::Tile()'
nc.cc:(.text+0x533d): undefined reference to `maps::Tile::Tile(unsigned long)'
nc.cc:(.text+0x53b1): undefined reference to `maps::Tile::Tile(unsigned long)'
nc.cc:(.text+0x53c6): undefined reference to `maps::Tile::relativeTile(maps::Tile const&) const'
collect2: error: ld returned 1 exit status

I then noticed that maps.cc didn't appear in the list of sources in
ncbuild.  I added it in there and then I get a:

/tmp/ccix7G06.o: In function  `maps::Tile::Tile(geometry::BasePoint<geometry::units::degrees, double> const&, geometry::BaseLength<geometry::units::zoom, int>)':maps.cc:(.text+0x31f): undefined reference to `_ZNK8geometry9BasePointINS_5units7degreesEdEcvNS0_IT_dEEINS1_8mercatorEEEv'
collect2: error: ld returned 1 exit status

Any ideas about how to address this issue?

Thanks!

-Stephen


Reply | Threaded
Open this post in threaded view
|

Re: [Nanocubes-discuss] build error after pull

laurolins
Hi Stephen,

Try adding “geometry.cc” to the list of source files in ncbuild (the same as what you did with maps.cc). If it works for you, I will push this change.

Thanks,
Lauro

On Feb 4, 2014, at 4:57 PM, Stephen Frowe Ingram <[hidden email]> wrote:

>
> Hi all,
>
> Wanted to play with the latest version of nanocubes so I did a "git pull" and then the standard build instructions and I received the following error message
>
> When I executed the following:
>
> ncbuild q29 c1 c1 u2 u8
>
> I was met with:
>
> /tmp/ccNY70vI.o: In function `NanoCubeServer::serveTile(Request&)':
> nc.cc:(.text+0x5304): undefined reference to `maps::Tile::Tile()'
> nc.cc:(.text+0x533d): undefined reference to `maps::Tile::Tile(unsigned long)'
> nc.cc:(.text+0x53b1): undefined reference to `maps::Tile::Tile(unsigned long)'
> nc.cc:(.text+0x53c6): undefined reference to `maps::Tile::relativeTile(maps::Tile const&) const'
> collect2: error: ld returned 1 exit status
>
> I then noticed that maps.cc didn't appear in the list of sources in ncbuild.  I added it in there and then I get a:
>
> /tmp/ccix7G06.o: In function  `maps::Tile::Tile(geometry::BasePoint<geometry::units::degrees, double> const&, geometry::BaseLength<geometry::units::zoom, int>)':maps.cc:(.text+0x31f): undefined reference to `_ZNK8geometry9BasePointINS_5units7degreesEdEcvNS0_IT_dEEINS1_8mercatorEEEv'
> collect2: error: ld returned 1 exit status
>
> Any ideas about how to address this issue?
>
> Thanks!
>
> -Stephen
>
> _______________________________________________
> Nanocubes-discuss mailing list
> [hidden email]
> http://mailman.nanocubes.net/mailman/listinfo/nanocubes-discuss_mailman.nanocubes.net



Reply | Threaded
Open this post in threaded view
|

Re: [Nanocubes-discuss] build error after pull

Stephen Frowe Ingram

Thanks, Lauro.  It worked.

-Stephen

On Tue, 4 Feb 2014, Lauro Lins wrote:

> Hi Stephen,
>
> Try adding “geometry.cc” to the list of source files in ncbuild (the same as what you did with maps.cc). If it works for you, I will push this change.
>
> Thanks,
> Lauro
>
> On Feb 4, 2014, at 4:57 PM, Stephen Frowe Ingram <[hidden email]> wrote:
>
>>
>> Hi all,
>>
>> Wanted to play with the latest version of nanocubes so I did a "git pull" and then the standard build instructions and I received the following error message
>>
>> When I executed the following:
>>
>> ncbuild q29 c1 c1 u2 u8
>>
>> I was met with:
>>
>> /tmp/ccNY70vI.o: In function `NanoCubeServer::serveTile(Request&)':
>> nc.cc:(.text+0x5304): undefined reference to `maps::Tile::Tile()'
>> nc.cc:(.text+0x533d): undefined reference to `maps::Tile::Tile(unsigned long)'
>> nc.cc:(.text+0x53b1): undefined reference to `maps::Tile::Tile(unsigned long)'
>> nc.cc:(.text+0x53c6): undefined reference to `maps::Tile::relativeTile(maps::Tile const&) const'
>> collect2: error: ld returned 1 exit status
>>
>> I then noticed that maps.cc didn't appear in the list of sources in ncbuild.  I added it in there and then I get a:
>>
>> /tmp/ccix7G06.o: In function  `maps::Tile::Tile(geometry::BasePoint<geometry::units::degrees, double> const&, geometry::BaseLength<geometry::units::zoom, int>)':maps.cc:(.text+0x31f): undefined reference to `_ZNK8geometry9BasePointINS_5units7degreesEdEcvNS0_IT_dEEINS1_8mercatorEEEv'
>> collect2: error: ld returned 1 exit status
>>
>> Any ideas about how to address this issue?
>>
>> Thanks!
>>
>> -Stephen
>>
>> _______________________________________________
>> Nanocubes-discuss mailing list
>> [hidden email]
>> http://mailman.nanocubes.net/mailman/listinfo/nanocubes-discuss_mailman.nanocubes.net
>
>
> _______________________________________________
> Nanocubes-discuss mailing list
> [hidden email]
> http://mailman.nanocubes.net/mailman/listinfo/nanocubes-discuss_mailman.nanocubes.net
>