Comments (8)
I made a simple update to waf script to check that the "ctx.options.enable_static_library" exists before trying to access it. This should address the error shown here. However It does not occur on my MacOS system so I'm not exactly yet sure the issue. It is probably some Python package version mismatch as a guess so there could be more to fix. Note that I will need to publish a new release once this is resolved. Is there some way you can test against the Git master to see if it is resolved?
from norm.
@bebopagogo if you can share the commit, I can patch into the existing PR.
Let me give your commit a try.
from norm.
looks like some new error now.
../protolib/include/protoDispatcher.h:60:2: warning: "Neither USE_SELECT or USE_KQUEUE defined, setting USE_SELECT" [-W#warnings]
#warning "Neither USE_SELECT or USE_KQUEUE defined, setting USE_SELECT"
^
../src/common/normSession.cpp:5096:17: error: no matching constructor for initialization of 'ProtoPktETH'
ProtoPktETH ethPkt(ethBuffer, 8192 - 2);
^ ~~~~~~~~~~~~~~~~~~~
../protolib/include/protoPktETH.h:63:9: note: candidate constructor not viable: no known conversion from 'UINT16 *' (aka 'unsigned short *') to 'UINT32 *' (aka 'unsigned int *') for 1st argument
ProtoPktETH(UINT32* bufferPtr = NULL,
^
../protolib/include/protoPktETH.h:60:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided
class ProtoPktETH : public ProtoPkt
^
../src/common/normSession.cpp:5103:20: error: use of undeclared identifier 'PROTO_ADDR_BROADCAST'
etherDst = PROTO_ADDR_BROADCAST;
^
1 warning and 2 errors generated.
from norm.
This looks like an older revision of protolib is being referenced? The approach we are taking with Protolib at the moment since its version control is not carefully managed (or checked with builds, etc) yet is to reference it as a git submodule from the norm code to make sure the appropriate revision is used. So, protolib headers, libraries should not be installed as an inappropriate version might be installed. Do you think that could be the case on your system?
When you do a "git clone" to pull the NORM code, if you use the "git clone --recursive" option, that will pull in the protolib submodule source code tree at the same time. Otherwise, you can do a "git submodule update --init" to do that as a second step from within the the checked out norm source tree.
from norm.
Did this help resolve the issue? Should I publish a new release with the updated waf file? Or is it unnecessary now?
from norm.
let me give git checkout
a try right now.
from norm.
Hi @chenrui333 - Can this issue be closed?
from norm.
@bebopagogo I think I still have some issue for the build.
from norm.
Related Issues (20)
- norm 1.5.9 python binding failure HOT 4
- norm 1.5.9 python binding of setRxPortReuse session's method seems not to work HOT 1
- norm 1.5.9 fatal error with the python binding of session's method fileEnqueue HOT 1
- Segmentation fault (normObject.cpp) HOT 1
- Receiving File and writing to mounted share is slow HOT 10
- Suggestion: Make pynorm work with Python3 HOT 3
- debugStats.py: No module named 'pynorm.extra.pipeparser' HOT 2
- add arguments `txBindAddress` back to pynorm Session.setTxPort HOT 1
- Suggestion: Use Python enum in pynorm/constants.py
- function `setTxOnly` missed in pynorm/session.py
- function `NormChangeDestination` missed in pynorm and NormDeveloperGuide
- Question:how to get the status of each sender session? HOT 2
- the fairness among multiple sender sessions. HOT 6
- NormRestartInstance cause ASSERT INVALID_DESCRIPTOR error HOT 4
- ProtoTree x->right ==x Caused infinite loop HOT 41
- normCast not support dir? HOT 3
- NormStreamSend Java Example Does Not Compile HOT 2
- NormObjectTable::Remove(NormObject*): Assertion `__null != tree.Find(theObject->GetId().GetValuePtr(), 8*sizeof(UINT16))' failed HOT 3
- 2 compiler warnings seem to indicate errors HOT 1
- Suggestion: .NET NORM Extension HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from norm.