having this error with gfind

For scripts to aid with computation or simulation in cellular automata.
Post Reply
drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

having this error with gfind

Post by drc » March 18th, 2016, 7:17 pm

Code: Select all

/tmp/ccGqhSR0.o:gfind.c:(.text+0x4d9): undefined reference to `qIsEmpty'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x4d9): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `qIsEmpty'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x936): undefined reference to `enqueue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x936): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `enqueue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x981): undefined reference to `setVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x981): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `setVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3af5): undefined reference to `isVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3af5): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `isVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b0a): undefined reference to `enqueue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b0a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `enqueue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b5a): undefined reference to `pop'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b5a): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `pop'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b73): undefined reference to `setVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b73): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `setVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b8c): undefined reference to `setVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x3b8c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `setVisited'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x5c08): undefined reference to `pop'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x5c08): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `pop'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x6029): undefined reference to `dequeue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x6029): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `dequeue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x6042): undefined reference to `qIsEmpty'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x6042): additional relocation overflows omitted from the output
/tmp/ccGqhSR0.o:gfind.c:(.text+0x62f7): undefined reference to `enqueue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x635a): undefined reference to `dequeue'
/tmp/ccGqhSR0.o:gfind.c:(.text+0x6363): undefined reference to `enqueue'
collect2: error: ld returned 1 exit status
this happens whenever I try to compile gfind, why?

FractalFusion
Posts: 52
Joined: March 27th, 2009, 2:07 pm

Re: having this error with gfind

Post by FractalFusion » March 18th, 2016, 11:30 pm

Try the following:

Code: Select all

g++ -fpermissive -O3 -o gfind gfind.c
There will be some warnings (which without -fpermissive would be errors) but I don't think there's any way to get rid of them.

drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

Re: having this error with gfind

Post by drc » March 18th, 2016, 11:34 pm

FractalFusion wrote:Try the following:

Code: Select all

g++ -fpermissive -O3 -o gfind gfind.c
There will be some warnings (which without -fpermissive would be errors) but I don't think there's any way to get rid of them.
Ahh, that settles it. I was using gcc instead of g++. Thanks! *two and a half thumbs up*

drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

Re: having this error with gfind

Post by drc » March 18th, 2016, 11:39 pm

So it asks me for the rule, I enter b3/s23, and then this happens:

Code: Select all

gfind 4.9, D. Eppstein, 20 August 2011
Constructing c/2 edge filters... found 12156/65536 patterns
Searching for speed c/2, width 12.
Searching for speed c/2, width 12, glide-reflect symmetry.

x = 11, y = 5, rule = B3/S23
b2o5b2o$b3o4b3o$ob2o3bob2o$3o4b3o$bo6bo!

Searching for speed c/3, width 8.
Searching for speed c/3, width 8, glide-reflect symmetry.
Searching for speed c/3, width 9, glide-reflect symmetry.
Searching for speed c/3, width 15, bilateral symmetry.

x = 15, y = 9, rule = B3/S23
b2obobobobob2o$o3b3ob3o3bo$bob2obobob2obo$2bob2o3b2obo$5bo3bo2$
5bo3bo$6b3o$6b3o!

Searching for speed c/4, width 6.
Searching for speed c/4, width 6, glide-reflect symmetry.
Searching for speed c/4, width 7, glide-reflect symmetry.
Searching for speed c/4, width 11, bilateral symmetry.
Searching for speed c/4, width 12, bilateral symmetry.
Searching for speed c/4, width 13, bilateral symmetry, gutter.
Searching for speed 2c/4, width 6.

x = 4, y = 5, rule = B3/S23
b2o$3o$2obo$b3o$2bo!

Searching for speed c/4, width 6, diagonal.

x = 3, y = 3, rule = B3/S23
obo$2o$bo!

Searching for speed c/5, width 5.
Searching for speed c/5, width 5, glide-reflect symmetry.
Searching for speed c/5, width 6, glide-reflect symmetry.
Searching for speed c/5, width 9, bilateral symmetry.
Searching for speed c/5, width 10, bilateral symmetry.
Searching for speed c/5, width 11, bilateral symmetry, gutter.
Searching for speed 2c/5, width 5.
Searching for speed 2c/5, width 5, glide-reflect symmetry.
Searching for speed 2c/5, width 6, glide-reflect symmetry.
Searching for speed 2c/5, width 9, bilateral symmetry.
Searching for speed 2c/5, width 10, bilateral symmetry.
Searching for speed 2c/5, width 11, bilateral symmetry, gutter.
Searching for speed c/5, width 5, diagonal.
Searching for speed c/5, width 9, diagonal, bilateral symmetry.
Searching for speed c/5, width 11, diagonal, bilateral symmetry, gutter.
Searching for speed c/5, width 12, diagonal, skew gutter.
Searching for speed c/6, width 4.
Searching for speed c/6, width 4, glide-reflect symmetry.
Searching for speed c/6, width 5, glide-reflect symmetry.
Searching for speed c/6, width 7, bilateral symmetry.
Searching for speed c/6, width 8, bilateral symmetry.
Searching for speed c/6, width 9, bilateral symmetry, gutter.
Searching for speed 2c/6, width 4.
Searching for speed 2c/6, width 7, bilateral symmetry.
Searching for speed 2c/6, width 8, bilateral symmetry.
Searching for speed 2c/6, width 9, bilateral symmetry, gutter.
Searching for speed 3c/6, width 4.
Searching for speed 3c/6, width 4, glide-reflect symmetry.
Searching for speed 3c/6, width 5, glide-reflect symmetry.
Searching for speed 3c/6, width 7, bilateral symmetry.
Searching for speed 3c/6, width 8, bilateral symmetry.
Searching for speed 3c/6, width 9, bilateral symmetry, gutter.
Searching for speed c/6, width 4, diagonal.
Searching for speed c/6, width 7, diagonal, bilateral symmetry.
Searching for speed c/6, width 8, diagonal, glide-reflect symmetry.
Searching for speed c/6, width 9, diagonal, bilateral symmetry, gutter.
Searching for speed c/6, width 10, diagonal, skew gutter.
The patterns are below,

Code: Select all

x = 63, y = 9, rule = B3/S23
b2o5b2o11b2obobobobob2o7b2o17bobo$b3o4b3o9bo3b3ob3o3bo5b3o17b2o$ob2o3b
ob2o10bob2obobob2obo6b2obo17bo$3o4b3o12bob2o3b2obo8b3o$bo6bo16bo3bo12b
o2$25bo3bo$26b3o$26b3o!
Don't know why there are 3 lwsses.

Sokwe
Moderator
Posts: 2688
Joined: July 9th, 2009, 2:44 pm

Re: having this error with gfind

Post by Sokwe » March 19th, 2016, 3:42 am

drc wrote:Don't know why there are 3 lwsses.
The first two spaceships are the result of a c/2 glide-symmetric width-12 search. It finds two LWSSs side-by-side, because this is the shortest even-width glide-symmetric ship at this speed. The third LWSS is found in a 2c/4 asymmetric search.

If you want to find anything interesting with gfind, you will need to input different parameters. I gave a brief description of how to set up the search that finds copperhead here.
-Matthias Merzenich

drc
Posts: 1664
Joined: December 3rd, 2015, 4:11 pm

Re: having this error with gfind

Post by drc » March 19th, 2016, 10:55 am

Sokwe wrote:
drc wrote:If you want to find anything interesting with gfind, you will need to input different parameters.
What does this mean?

Code: Select all

Queue full, depth 4, deepening 11, 524k/528k

User avatar
Saka
Posts: 3627
Joined: June 19th, 2015, 8:50 pm
Location: Indonesia
Contact:

Re: having this error with gfind

Post by Saka » March 23rd, 2016, 5:49 am

drc wrote:
Sokwe wrote:
drc wrote:If you want to find anything interesting with gfind, you will need to input different parameters.
What does this mean?

Code: Select all

Queue full, depth 4, deepening 11, 524k/528k
It means it's progressing

Post Reply