You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a problem while compiling the files in the aNXT/libanxt dir:
when gcc is invoked with the -lanxt_net option, it can't find the library files as they are still not created;
I resolved this problem changing the compilation order in aNXT/Makefile:
all: bin/anxt-config
make -C libanxt_net/
make -C libanxt/
make -C libanxt_file/
make -C libanxt_tools/
make -C nxtd/
make -C examples/
make -C tools/
(I put libanxt_net before others)
Then I added -L ../lib/ as an option in aNXT/libanxt/Makefile: $(CC) -shared -Wl,-soname,libanxt.so.1 -o ../lib/libanxt.so.1 $^ -lc -lanxt_net -L ../lib/
Now the library can be compiled without errors.
The text was updated successfully, but these errors were encountered:
There is a problem while compiling the files in the aNXT/libanxt dir:
when gcc is invoked with the -lanxt_net option, it can't find the library files as they are still not created;
I resolved this problem changing the compilation order in aNXT/Makefile:
all: bin/anxt-config
make -C libanxt_net/
make -C libanxt/
make -C libanxt_file/
make -C libanxt_tools/
make -C nxtd/
make -C examples/
make -C tools/
(I put libanxt_net before others)
Then I added -L ../lib/ as an option in aNXT/libanxt/Makefile:
$(CC) -shared -Wl,-soname,libanxt.so.1 -o ../lib/libanxt.so.1 $ ^ -lc -lanxt_net -L ../lib/
Now the library can be compiled without errors.
The text was updated successfully, but these errors were encountered: