Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make error #160

Closed
GerryG opened this issue Feb 2, 2017 · 7 comments
Closed

Make error #160

GerryG opened this issue Feb 2, 2017 · 7 comments

Comments

@GerryG
Copy link

GerryG commented Feb 2, 2017

`make ceptr
gcc -pthread -g -o ceptr src/accumulator.h src/ansicolor.h src/base_defs.h src/ceptr.h src/ceptr_error.h src/ceptr_types.h src/debug.h src/def.h src/group.h src/hashfn.h src/label.h src/mtree.h src/process.h src/protocol.h src/receptor.h src/scape.h src/semtable.h src/semtrex.h src/shell.h src/stream.h src/sys_defs.h src/tree.h src/uthash.h src/util.h src/vmhost.h src/accumulator.c src/base_defs.c src/ceptr.c src/debug.c src/def.c src/group.c src/hashfn.c src/label.c src/mtree.c src/process.c src/protocol.c src/receptor.c src/scape.c src/semtable.c src/semtrex.c src/shell.c src/stream.c src/sys_defs.c src/tree.c src/util.c src/vmhost.c

clang: error: cannot specify -o when generating multiple output files`

@GerryG
Copy link
Author

GerryG commented Feb 2, 2017

I don't know why I can't make the 'code' markup work here. This is on gcc from xcode, so it shouldn't be anything special.

@GerryG
Copy link
Author

GerryG commented Feb 2, 2017

When it does try to compile each src file, I get lots of these:
src/ceptr_types.h:248:5: error: unknown type name 'pthread_mutex_t'; did you mean
      'pthread_attr_t'?
    pthread_mutex_t pending_responses_mutex;
    ^~~~~~~~~~~~~~~
    pthread_attr_t
/usr/include/sys/_pthread/_pthread_attr_t.h:30:33: note: 'pthread_attr_t' declared
      here
typedef __darwin_pthread_attr_t pthread_attr_t;

@zippy
Copy link
Owner

zippy commented Feb 3, 2017

Hey Gerry, I haven't yet solved the problems of compiling on mac. #156 is the ticket in place to address this, but I haven't gotten autotools to work yet to address the issue. You can look at #20 where thos actually got it working at one point, don't know if that will help.

@GerryG
Copy link
Author

GerryG commented Feb 3, 2017

Ah, I'll let you know if I find anything. In the meantime I was the developer lead in doing docker at tribune publishing, well I still am. So I have docker containers all about, ours are centos based and it worked there.

If you leave this open, I'll comment here. If there is already another issue like this ...

@GerryG
Copy link
Author

GerryG commented Feb 3, 2017

Oh, almost forgot. On the centos image it needed netcat (nc command). IIRC, the yum package was nmap-ncat

All the specs are not passing right now, is there output from automated test runs anywhere public for comparison?

@zippy
Copy link
Owner

zippy commented Feb 3, 2017

Nope, that's also something pending to do. But I can tell you that's expected, I think is three specs (on a mobile device right now)

@GerryG
Copy link
Author

GerryG commented Feb 3, 2017

Yes, that's what I see currently, thx.

Not trying to rush you, keep to your priorities, just reach out where you think I can contribute now.

@GerryG GerryG closed this as completed Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants