[Click] Vector Problem!

Eddie Kohler kohler at cs.ucla.edu
Fri Jul 11 12:15:00 EDT 2008


Hi Miguel,

Add "#include <click/vector.cc>" to your file.

We should do this by default!

Eddie


Miguel Naranjo wrote:
> Dear all,
> 
> I have been trying to use a Vector of a struct that I defined but when I 
> tried to run the .click file I keep getting this error.
> "While loading package 'bam':  package 
> /home/user/Project/click-1.6.0/lib/bam.uo: undefined symbol: 
> _ZN6VectorI12pushMPHEntryE7reserveEi"
> 
> Also, I tried with a different structs and I got similar errors.
> 
> 
> here is my struct:
> 
> struct pushMPHEntry
> {
>     IPAddress src_ip;        //Source IP address of packet
>     IPAddress dst_ip;        //Destination IP address of packet
>     uint16_t tcp_sport;        //TCP  source port            
>     uint16_t tcp_dport;        //TCP  destination port       
>    
> };
> 
> Thanks and Regards,
> 
> Miguel Naranjo.
> UCL
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list