imunes / imunes

Integrated Multiprotocol Network Emulator/Simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error install IMUNES in FreeBSD 14.0 64 Bits

jromero17 opened this issue · comments

root@imunes:~/imunes# make install
rm -rf /usr/local/lib/imunes
for file in imunes apk_imunes apt-get_imunes cleanupAll cleanupAll.linux hcp hcp.linux himage himage.linux pkg_imunes startxcmd startxcmd.linux vlink vlink.tcl; do
rm -f /usr/local/bin/${file};
done ;
rm -rf /usr/local/etc/rc.d/imunes-service.sh
To remove startup topologies, remove /var/imunes-service
sh scripts/install_ng_modules.sh
Warning: Object directory not changed from original /root/imunes/src/ng_rfee
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -include /root/imunes/src/ng_rfee/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.ng_rfee.o -MTng_rfee.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=freebsd_kprintf -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c ng_rfee.c -o ng_rfee.o
ng_rfee.c:596:18: error: variable 'lcp' set but not used [-Werror,-Wunused-but-set-variable]
struct linkcfg *lcp;
^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /root/imunes/src/ng_rfee
cd: src/ng_patmat: No such file or directory
cd: src/ng_source: No such file or directory
gmake[1]: *** [GNUmakefile:151: netgraph] Error 2
*** Error code 2

Stop.
make: stopped in /root/imunes

Good morning Mr. Denis, I wanted to present you this error that occurred when I tried to install IMUNES on FreeBSD 14.0 64 Bits.

I appreciate if you can help me to solve this error problem in the installation of IMUNES.

Hi,

try the fix 231922d from branch freebsd14_fix. I currently don't have FreeBSD 14 installed, so I haven't tried it yet.

Denis

Good morning Mr. Denis, sorry for not responding faster. I tried the solution you gave me, and indeed the installation of IMUNES on FreeBSD 14.0 64 Bits was successful.

However, at the moment of running an experiment I get some errors in the execution, it is possible that it is because of the elimination of the lcp variable that you indicated me:
in the lines
struct linkcfg *lcp;

lcp = &hp->cfg.link;

If you like I could send you the errors.

Better I send them to you so that you have present that this happening, so it is looking for solution to that problem.

error_ejecucion_imunes1

In directory /var/imunes/vroot

error_ejecucion_imunes2

EN ESPAÑOL

Buenos dias Señor Denis, perdona por no haber respondido de manera más rapida. Probe la solución que me distes, y efectivamente la instalación de IMUNES en FreeBSD 14.0 64 Bits se realizó satisfactoriamente.

Sin embargo, al momento de ejecutar un experimento salen un errores en la ejecución, es posible que sea por la eliminación de la variable lcp que me indicaste:
en las lineas
struct linkcfg *lcp;

lcp = &hp->cfg.link;

Si gustas podría enviarte los errores.

Mejor te los envío para que tengas presente que esta ocurriendo, asi se va buscando solución a ese problema.

Hi!

Can you confirm that you're running FreeBSD on ZFS: zfs list?

We found that FreeBSD 14 running on ZFS does not play along well with nullfs and/or unionfs with jails(?) but we're still not sure what exactly is the problem.

We think that this is not an IMUNES bug, and those two lines I've deleted are certainly not the cause of this. Additionally, there are some issues on FreeBSD 14 on UFS when running vtysh, so please have patience until we test everything on FreeBSD 14.

Denis