pjsip compile issue

35 views
Skip to first unread message

billysdomain

unread,
May 14, 2024, 10:20:54 AM5/14/24
to embox-devel
Hi all,

getting a <string> file not found during the compilation of pjsip part - have i missed a config setting? both x86 and st confs

cc1plus: warning: command-line option '-std=gnu99' is valid for C/ObjC but not for C++
In file included from ../include/pjsua2/persistent.hpp:26,
                 from ../include/pjsua2/endpoint.hpp:26,
                 from ../src/pjsua2-test/main.cpp:19:
../include/pjsua2/types.hpp:33:10: fatal error: string: No such file or directory
   33 | #include <string>
      |          ^~~~~~~~

Many thanks
Billy
Message has been deleted

billysdomain

unread,
May 14, 2024, 10:55:51 AM5/14/24
to embox-devel
Hi again, i think its a syntax issue possibly?

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
build-essential set to manually installed.
linux-headers-6.5.0-28-generic is already the newest version (6.5.0-28.29~22.04.1).
linux-headers-6.5.0-28-generic set to manually installed.
The following packages were automatically installed and are no longer required:
  libflashrom1 libftdi1-2 libllvm13             make
>>> Configuration in: conf/ <<<

make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[4]: '/home/billy/Projects/sip/embox/embox/build/base/gen/embox_gcc_env.sh' is up to date.
make -C third-party/lib/openlibm/ MAKEFLAGS=  ROOT_DIR=/home/billy/Projects/sip/embox/embox  EMBOX_ROOT_DIR=/ho'
make[5]: Nothing to be done for 'all'.
External build complete
gcc -E  -P -undef -D__LDS__ -U__linux__ -Ulinux -U__linux -D__EMBOX__ -D__unix -imacros /home/billy/Projects/si\
-I/home/billy/Projects/sip/embox/embox/build/base/gen \
-imacros /home/billy/Projects/sip/embox/embox/build/base/gen/config.lds.h \
-MMD -MT /home/billy/Projects/sip/embox/embox/build/base/obj/mk/image.lds -MF /home/billy/Projects/sip/S
make[4]: Nothing to be done for 'do_test'.
true
true
make -C third-party/pjproject/core/ MAKEFLAGS=  ROOT_DIR=/home/billy/Projects/sip/embox/embox  EMBOX_ROOT_DIR=/e
cd /home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjproject-6470fb9e4bd9baa14d5\
make dep; \
make MAKEFLAGS=''; \
)
make[6]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
for dir in pjlib/build pjlib-util/build pjnath/build third_party/build pjmedia/build pjsip/build pjsip-apps/bui\
if make  -C $dir dep; then \
    true; \
else \
    exit 1; \
fi; \
done
make[7]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
make -f /home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjproject-6470fb9e4bd9bad
make[8]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
.pjlib-i386-unknown-none.depend:1: *** missing separator. Stop.
make[8]: Leaving directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjpr'
make[7]: *** [Makefile:89: depend] Error 2
make[7]: Leaving directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjpr'
make[6]: *** [Makefile:14: dep] Error 1
make[6]: Leaving directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjpr'
make[6]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
for dir in pjlib/build pjlib-util/build pjnath/build third_party/build pjmedia/build pjsip/build pjsip-apps/bui\
if make  -C $dir all; then \
    true; \
else \
    exit 1; \
fi; \
done
make[7]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
make -f /home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjproject-6470fb9e4bd9baa
make[8]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
.pjlib-i386-unknown-none.depend:1: *** missing separator. Stop.
make[8]: Leaving directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjpr'
make[7]: *** [Makefile:106: libpj-i386-unknown-none.a] Error 2
make[7]: Leaving directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjpr'
make[6]: *** [Makefile:14: all] Error 1
make[6]: Leaving directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjpr'
make[5]: *** [Makefile:52: /home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/.buil2
make[4]: *** [/home/billy/Projects/sip/embox/embox/build/base/gen/third_party/pjproject/core_c.extbld_rule.mk:22
make[3]: *** [mk/build.mk:28: build] Error 2
make[2]: *** [mk/load.mk:41: build] Error 2
make[1]: *** [mk/main.mk:31: build] Error 2
make: *** [Makefile:40: all] Error 2

On Tuesday 14 May 2024 at 15:49:29 UTC+1 billysdomain wrote:
this goes on to show a terminator error:

for dir in pjlib/build pjlib-util/build pjnath/build third_party/build pjmedia/build pjsip/build pjsip-apps/bui\
if make  -C $dir all; then \
    true; \
else \
    exit 1; \
fi; \
done
make[7]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
make -f /home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjproject-6470fb9e4bd9baa
make[8]: Entering directory '/home/billy/Projects/sip/embox/embox/build/extbld/third_party/pjproject/core_c/pjp'
.pjlib-i386-unknown-none.depend:1: *** missing separator. Stop.
make[8]: Leaving directory '/home/billy/Projects/sip/embox/embox/bu

billysdomain

unread,
May 14, 2024, 12:31:04 PM5/14/24
to embox-devel
Hi,

So i can follow your tutorial and compile and test pjsip on its own
and i can compile and test the x86/qemu conf no problem
I only seem to get the error when i use embox to compile pjsip sample using

project/pjsip/x86-qemu

or

project/pjsip/stm32f769i-discovery

billysdomain

unread,
May 14, 2024, 1:32:13 PM5/14/24
to embox-devel
So i have just tested everything on a separate ubuntu 20 (previous was 22) and have exactly the same results - using https://github.com/embox/embox/wiki/Quick-Start as the install base

cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++

In file included from ../include/pjsua2/persistent.hpp:26,
                 from ../include/pjsua2/account.hpp:27,
                 from ../src/pjsua2/account.cpp:19:

../include/pjsua2/types.hpp:33:10: fatal error: string: No such file or directory
   33 | #include <string>
      |          ^~~~~~~~
compilation terminated.
cc1plus: warning: command line option ‘-std=gnu99’ is valid for C/ObjC but not for C++

In file included from ../include/pjsua2/persistent.hpp:26,
                 from ../include/pjsua2/endpoint.hpp:26,
                 from ../src/pjsua2/endpoint.cpp:19:

../include/pjsua2/types.hpp:33:10: fatal error: string: No such file or directory
   33 | #include <string>

billysdomain

unread,
May 15, 2024, 3:59:46 AM5/15/24
to embox-devel
Hi,

Just done a fresh Debian 12 install, followed the tutorial to the letter, but get exactly the same <string> compile problem

Is there a library path i need to add somewhere?

Anton Bondarev

unread,
May 15, 2024, 5:25:52 AM5/15/24
to embox...@googlegroups.com
Hi Billy,
Thanks a lot for your message. I've reproduced the problem with pjsip compilation. It takes some time for me to inserstigate it.
Currently I suggest try old Embox version (0.6.0 for example) Erlier it works OK.

Best regards,
Anton

ср, 15 мая 2024 г. в 10:59, billysdomain <mw...@billysdomain.net>:
--
You received this message because you are subscribed to the Google Groups "embox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embox-devel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/embox-devel/a7604031-f859-42ec-a538-646edb8eebd8n%40googlegroups.com.
Message has been deleted

Anton Bondarev

unread,
May 15, 2024, 7:33:33 AM5/15/24
to embox...@googlegroups.com
Hi Billy,
I found out that v0.6.2 compiled OK
I created the issue for this https://github.com/embox/embox/issues/3258

Anton

ср, 15 мая 2024 г. в 12:25, Anton Bondarev <anton.bon...@gmail.com>:

billysdomain

unread,
May 15, 2024, 4:54:00 PM5/15/24
to embox-devel
Hi Anton,

0.6.2 failed for me on a dvfs error

0.6.1 compiles

So i have 0.6.1 compiling and running for both qemu and STDisco board - i can run simple_pjsua_imported but i have a networking issue on both platforms

does 0.6.1 have networking problems? i can not seem to ping any hosts external to the board, qemu works on the loopback and own ip address, but disco board crashes and reboots

Kindest regards
Billy

billysdomain

unread,
May 15, 2024, 4:59:01 PM5/15/24
to embox-devel
[info] {Kernel} Embox kernel start                                              
[info] {runlevel} initializing embox.mem.static_heap                            
[info] {runlevel} initializing embox.kernel.task.task_resource                  
[info] {runlevel} initializing embox.kernel.task.task_table                    
[info] {runlevel} initializing embox.kernel.task.kernel_task                    
[info] {runlevel} initializing embox.arch.arm.fpu.fpv5                          
[info] {runlevel} initializing embox.kernel.sched.sched                        
[info] {runlevel} initializing embox.driver.interrupt.cortexm_nvic              
[info] {runlevel} initializing third_party.bsp.stmf7cube.sdram                  
[info] {runlevel} init level is 0                                              
[info] {runlevel} initializing embox.driver.clock.cortexm_systick              
[info] {runlevel} init level is 1                                              
[info] {runlevel} initializing embox.mem.phymem                                
[info] {phymem} start=0x2007da80 end=0x20080000 size=9600                      
[info] {runlevel} initializing embox.fs.buffer_cache                            
[info] {runlevel} initializing embox.driver.audio.portaudio_lib                
[info] {runlevel} initializing embox.driver.audio.stm32f769i_discovery          
[info] {runlevel} initializing embox.driver.net.stm32f7cube_eth                
[info] {runlevel} initializing embox.cmd.shell                                  
[info] {runlevel} initializing embox.fs.rootfs_dvfs                            
[info] {runlevel} init level is 2                                              
[info] {runlevel} initializing embox.init.start_script                          
                                                                               
                                                                               
Started shell [diag_shell] on device [diag]                                    
loading start script:                                                          
> netmanager                                                                    
BOOTP failed, using static config for eth0...                                  
                                                                               
Welcome to Embox and have a lot                                                
embox>ifconfig                                                                  
of fun!eth0     Link encap:Ethernet  HWaddr aa:bb:cc:dd:ee:02                  
        inet addr:192.168.0.192  Bcast:192.168.0.255  Mask:255.255.255.0        
        inet6 addr: ::/??  Scope:Host                                          
        UP BROADCAST MULTICAST  MTU:1514  Metric:0                              
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0                      
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                    
        collisions:0                                                            
        RX bytes:0 (0 MiB)  TX bytes:0 (0 MiB)                                  
        Interrupt:61 Base address:0x40028000                                    
                                                                               
                                                                               
embox>ping 192.168.0.1                                                          
PING 192.168.0.1 (192.168.0.1) 64 bytes of data                                
--- 192.168.0.1 ping statistics ---                                            
4 packets transmitted, 0 received, +0 errors, 100% packet loss, time 4011ms    
ping: Command returned with code 4: Unknown error code. PLEASE REPORT ISSUE 519!
                                                                               
embox>

Anton Bondarev

unread,
May 16, 2024, 4:38:48 AM5/16/24
to embox...@googlegroups.com
Hi Billy,
I see you changed thenetwork settings. It was my first idea.

Try to do the same action on the base template for your board. I mean
make confload-platform/stm32/f7/...

Best regards,
Anton Bondarev

ср, 15 мая 2024 г. в 23:59, billysdomain <mw...@billysdomain.net>:

billysdomain

unread,
May 16, 2024, 5:15:40 AM5/16/24
to embox-devel
Hi Anton,

I can now ping my local IP and loopback, but still no reply from anything external from the board:

(This is a new stm disco board)

Started shell [tish] on device [ttyS0]                                          
loading start script:                                                          
> netmanager                                                                    
> service telnetd                                                              
Starting service: telnetd                                                      
Succefully started                                                              
> service httpd                                                                
Starting service: httpd                                                        
Succefully started                                                              
> partition                                                                    
> mkdir -v /mnt                                                                
> fb_direct_access                                                              
> tinypy fib.py                                                                
fib(7) = 13                                                                    
embox>ifconfig                                                                  

eth0    Link encap:Ethernet  HWaddr aa:bb:cc:dd:ee:02                          
        inet addr:192.168.0.192  Bcast:192.168.0.255  Mask:255.255.255.0        
        inet6 addr: ::/??  Scope:Host                                          
        UP BROADCAST MULTICAST  MTU:1514  Metric:0                              
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0                      
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                    
        collisions:0                                                            
        RX bytes:0 (0 MiB)  TX bytes:0 (0 MiB)                                  
        Interrupt:61 Base address:0x40028000                                    
                                                                               
lo      Link encap:Local Loopback                                              
        inet addr:127.0.0.1  Mask:255.0.0.0                                    
        inet6 addr: ::/??  Scope:Host                                          
        UP LOOPBACK RUNNING  MTU:16436  Metric:0                                

        RX packets:0 errors:0 dropped:0 overruns:0 frame:0                      
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                    
        collisions:0                                                            
        RX bytes:0 (0 MiB)  TX bytes:0 (0 MiB)                                  
                                                                               
embox>ping 127.0.0.1                                                            
PING 127.0.0.1 (127.0.0.1) 64 bytes of data                                    
84 bytes from 127.0.0.1 (127.0.0.1): icmp_seq=1 ttl=64 time=4 ms                
84 bytes from 127.0.0.1 (127.0.0.1): icmp_seq=2 ttl=64 time=4 ms                
ping: poll failure: Operation interrupted                                      
--- 127.0.0.1 ping statistics ---                                              
4 packets transmitted, 2 received, +0 errors, 50% packet loss, time 1978ms      
ping: Command returned with code -4: Operation interrupted                      
tish error: #252                                                                
embox>                                                                          
embox>ping 192.168.0.192                                                        
PING 192.168.0.192 (192.168.0.192) 64 bytes of data                            
84 bytes from 192.168.0.192 (192.168.0.192): icmp_seq=1 ttl=64 time=4 ms        
84 bytes from 192.168.0.192 (192.168.0.192): icmp_seq=2 ttl=64 time=4 ms        
ping: poll failure: Operation interrupted                                      
--- 192.168.0.192 ping statistics ---                                          
4 packets transmitted, 2 received, +0 errors, 50% packet loss, time 1938ms      
ping: Command returned with code -4: Operation interrupted                      
tish error: #252                                                                
embox>                                                                          

embox>ping 192.168.0.1                                                          
PING 192.168.0.1 (192.168.0.1) 64 bytes of data                                
--- 192.168.0.1 ping statistics ---                                            
4 packets transmitted, 0 received, +0 errors, 100% packet loss, time 4011ms    
ping: Command returned with code 4: Unknown error code. PLEASE REPORT ISSUE 519!
tish error: #4                                                                  

embox>ping 192.168.0.1                                                          
PING 192.168.0.1 (192.168.0.1) 64 bytes of data                                
--- 192.168.0.1 ping statistics ---                                            
4 packets transmitted, 0 received, +0 errors, 100% packet loss, time 4012ms    
ping: Command returned with code 4: Unknown error code. PLEASE REPORT ISSUE 519!
tish error: #4                                                                  
embox>

Anton Bondarev

unread,
May 16, 2024, 5:40:11 AM5/16/24
to embox...@googlegroups.com
Can you try to connect your board directly to your PC?
I try to reproduce the problem asap

Anton

чт, 16 мая 2024 г. в 12:15, billysdomain <mw...@billysdomain.net>:

billysdomain

unread,
May 16, 2024, 5:51:22 AM5/16/24
to embox-devel
It seems to make no difference, it looks like no data is flowing in either direction on the physical side

Sending packets to it also are not registering

The link is active and the mag lights are blinking away

this is using v0.6.1

Thanks
Billy

billysdomain

unread,
May 16, 2024, 6:25:43 AM5/16/24
to embox-devel
Just tried with the latest embox version and seems to be the same

also, when pinging the local IP address, can see the reply but the rx/tx counters do not change

[info] (Kernel) Interrupt controller: cortexm_nvic                              
[info] (Kernel) Embox kernel start                                              
[info] (unit) initializing embox.kernel.task.task_resource                      
[info] (unit) initializing embox.kernel.task.task_table                        
[info] (unit) initializing embox.kernel.task.kernel_task                        
[info] (unit) initializing embox.arch.arm.fpu.fpv5                              
[info] (fpv5) MVFR0 (Media and VFP Feature Register 0) = 0x10110221            
[info] (fpv5) Single precision support = yes                                    
[info] (fpv5) Double precision support = Unknown                                
[info] (fpv5) Size of FP register bank = 16 x 64-bit registers                  
[info] (fpv5) MVFR1 (Media and VFP Feature Register 1) = 0x12000011            
[info] (fpv5) CPACR (Coprocessor Access Control Register) = 0x00f00000          
[info] (fpv5) FPCCR (Floating-point Context Control Register) = 0x00000018      
[info] (fpv5) Automatic hardware state preservation and restoration:            
[info] (fpv5) on exception entry and exit = no                                  
[info] (fpv5) automatic lazy state preservation = no                            
[info] (unit) initializing embox.kernel.sched.sched                            
[info] (unit) initializing embox.driver.interrupt.cortexm_nvic                  
[info] (unit) initializing embox.arch.arm.armmlib.armv7m_cpu_cache              
[debug] (armv7m_cpu_cache) SRAM section non-cacheble: start=0x20028000, region 0
[debug] (armv7m_cpu_cache) SRAM device memory: start=0x20028000, region size=0x0
[debug] (armv7m_cpu_cache) Region0 non-cacheble: start=0x60000000, region size=0
[info] (unit) initializing third_party.bsp.stmf7cube.sdram                      
[info] (runlevel) init level is 0                                              
[info] (unit) initializing embox.device.char_dev                                
[info] (unit) initializing embox.driver.gpio.stm32cube_gpio                    
[info] (unit) initializing embox.driver.usb.core                                
[info] (unit) initializing embox.driver.input.button.stm32cube_button          
[info] (unit) initializing embox.driver.video.stm32f7_lcd                      
[info] (unit) initializing embox.driver.clock.cortexm_systick                  
[info] (unit) initializing embox.driver.usb.hub                                
[info] (unit) initializing embox.driver.usb.class.hid                          
[info] (unit) initializing embox.driver.usb.class.ccid                          
[info] (unit) initializing embox.driver.usb.class.mass_storage                  
[info] (unit) initializing embox.driver.flash.stm32f7_qspi                      
[info] (runlevel) init level is 1                                              
[info] (unit) initializing embox.mem.static_heap                                
[info] (unit) initializing embox.mem.phymem                                    
[info] (phymem) start=0x200579c0 end=0x20080000 size=165440                    
[info] (unit) initializing embox.fs.buffer_cache                                
[info] (unit) initializing embox.mem.loadsect                                  
[info] (unit) initializing embox.driver.flash.flash_fs                          
[debug] (stm32cube_fix_addr)                                                    
[debug] (stm32cube_fix_addr) Flash info:                                        
[debug] (stm32cube_fix_addr)   Flash start address = 0x08100000                
[debug] (stm32cube_fix_addr)   Flash start sector  = 8                          
[debug] (stm32cube_fix_addr)   Flash size   = 0x100000                          
[debug] (stm32cube_fix_addr)   Block size   = 0x40000                          
[debug] (stm32cube_fix_addr)   Blocks count = 0x4                              
[debug] (stm32cube_fix_addr)                                                    
[info] (unit) initializing embox.driver.tty.serial                              
[info] (unit) initializing embox.fs.rootfs_dvfs                                
[info] (unit) initializing embox.mem.fixed_heap                                
[info] (unit) initializing embox.driver.usb.stm32_hc.stm32f7_hc                
[debug] (stm32f7_hc)                                                            
[info] (unit) initializing embox.driver.net.loopback                            
[info] (unit) initializing embox.driver.net.stm32f7cube_eth                    
[info] (runlevel) init level is 2                                              
[info] (unit) initializing embox.init.start_script�                            
                                                                               
Started shell [tish] on device [ttyS0]                                          
loading start script:                                                          
> netmanager                                                                    
> service telnetd                                                              
Starting service: telnetd                                                      
Succefully started                                                              
> service httpd                                                                
Starting service: httpd                                                        
Succefully started                                                              
> partition                                                                    
> mkdir -v /mnt                                                                
> fb_direct_access                                                              
> tinypy fib.py                                                                
fib(7) = 13                                                                    
embox>ifconfig                                                                  
lo      Link encap:Local Loopback                                              
        inet addr:127.0.0.1  Mask:255.0.0.0                                    
        inet6 addr: ::/??  Scope:Host                                          
        UP LOOPBACK RUNNING  MTU:16436  Metric:0                                
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0                      
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                    
        collisions:0                                                            
        RX bytes:0 (0 MiB)  TX bytes:0 (0 MiB)                                  
                                                                               
eth0    Link encap:Ethernet  HWaddr aa:bb:cc:dd:ee:02                          
        inet addr:192.168.0.192  Bcast:192.168.0.255  Mask:255.255.255.0        
        inet6 addr: ::/??  Scope:Host                                          
        UP BROADCAST MULTICAST  MTU:1514  Metric:0                              
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0                      
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                    
        collisions:0                                                            
        RX bytes:0 (0 MiB)  TX bytes:0 (0 MiB)                                  
        Interrupt:61 Base address:0x40028000                                    
                                                                               
embox>ping 192.168.0.192                                                        
PING 192.168.0.192 (192.168.0.192) 64 bytes of data                            
84 bytes from 192.168.0.192 (192.168.0.192): icmp_seq=1 ttl=64 time=4 ms        
84 bytes from 192.168.0.192 (192.168.0.192): icmp_seq=2 ttl=64 time=4 ms        
84 bytes from 192.168.0.192 (192.168.0.192): icmp_seq=3 ttl=64 time=4 ms        
84 bytes from 192.168.0.192 (192.168.0.192): icmp_seq=4 ttl=64 time=4 ms        

--- 192.168.0.192 ping statistics ---                                          
4 packets transmitted, 4 received, +0 errors, 0% packet loss, time 4035ms      
embox>ifconfig                                                                  

lo      Link encap:Local Loopback                                              
        inet addr:127.0.0.1  Mask:255.0.0.0                                    
        inet6 addr: ::/??  Scope:Host                                          
        UP LOOPBACK RUNNING  MTU:16436  Metric:0                                
        RX packets:8 errors:0 dropped:0 overruns:0 frame:0                      
        TX packets:8 errors:0 dropped:0 overruns:0 carrier:0                    
        collisions:0                                                            
        RX bytes:976 (0 MiB)  TX bytes:976 (0 MiB)                              

                                                                               
eth0    Link encap:Ethernet  HWaddr aa:bb:cc:dd:ee:02                          
        inet addr:192.168.0.192  Bcast:192.168.0.255  Mask:255.255.255.0        
        inet6 addr: ::/??  Scope:Host                                          
        UP BROADCAST MULTICAST  MTU:1514  Metric:0                              
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0                      
        TX packets:0 errors:0 dropped:0 overruns:0 carrier:0                    
        collisions:0                                                            
        RX bytes:0 (0 MiB)  TX bytes:0 (0 MiB)                                  
        Interrupt:61 Base address:0x40028000                                    
                                                                               
embox>ping 192.168.0.1                                                          
PING 192.168.0.1 (192.168.0.1) 64 bytes of data                                
--- 192.168.0.1 ping statistics ---                                            
4 packets transmitted, 0 received, +0 errors, 100% packet loss, time 4011ms    
ping: Command returned with code 4: Unknown error code. PLEASE REPORT ISSUE 519!
tish error: #4                                                                  
embox>                                                                          
embox>

billysdomain

unread,
May 16, 2024, 6:29:20 AM5/16/24
to embox-devel
i think pinging the local ip address also uses the lo interface not eth0, so could well simply be a eth0 config issue

billysdomain

unread,
May 18, 2024, 7:43:29 AM5/18/24
to embox-devel
Hi Anton,

Thanks for your reply.

I will use 0.6

With 0.6, the problem still occur, but the compiler does not stop and continues to move forward - the later embox version stops at the error

here is the same error from 0.6 but it did not stop:

rm -f .pjsua2-test-i386-unknown-none.depend; \
exit 1; \
     fi; \
   fi; \
done;

In file included from ../include/pjsua2/persistent.hpp:26,
                 from ../include/pjsua2/endpoint.hpp:26,
                 from ../src/pjsua2-test/main.cpp:19:
../include/pjsua2/types.hpp:33:10: fatal error: string: No such file or directory
   33 | #include <string>
      |          ^~~~~~~~
compilation terminated.
make[8]: Leaving directory '/home/billy/Projects/sip/embox/embox-0.6/embox/build/extbld/third_party/pjproject/core_c/pjproject-6470fb9e4bd9baa14d50f754dc7f945e7a76c828/pjsip/build'
echo '../bin/pjsip-test-i386-unknown-none: ../../pjmedia/lib/libpjmedia-i386-unknown-none.a ../lib/libpjsua-i386-unknown-none.a ../lib/libpjsip-simple-i386-unknown-none.a ../lib/libpjsip-ua-i386-unknown-none.a ../lib/libpjsip-i386-unknown-none.a ../../pjnath/lib/libpjnath-i386-unknown-none.a ../../pjlib-util/lib/libpjlib-util-i386-unknown-none.a ../../pjlib/lib/libpj-i386-unknown-none.a' >> .pjsip-test-i386-unknown-none.depend
echo '../bin/pjsua2-test-i386-unknown-none: ../l

Anton Bondarev

unread,
May 18, 2024, 7:50:50 AM5/18/24
to embox...@googlegroups.com, mw...@billysdomain.net
Hi Billy,

Thanks,
Yes, I saw the same messages on 0.6.0. It seems that it is not problem which broke the compilation. However I need more time to find out the problem

Anton

сб, 18 мая 2024 г. в 14:43, billysdomain <mw...@billysdomain.net>:
Reply all
Reply to author
Forward
0 new messages