Untitled

 avatar
unknown
plain_text
2 years ago
4.1 kB
6
Indexable
r2com@eda1:~/projects/fpga/vpitest1/vip/build$ make VERBOSE=1                                                                                                                                                                                                                                                                                                                              
/usr/bin/cmake -S/home/r2com/projects/fpga/vpitest1/vip -B/home/r2com/projects/fpga/vpitest1/vip/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/r2com/projects/fpga/vpitest1/vip/build/CMakeFiles /home/r2com/projects/fpga/vpitest1/vip/build//CMakeFiles/progress.marks                                                                                                                                                                                                                     
make  -f CMakeFiles/Makefile2 all  
make[1]: Entering directory '/home/r2com/projects/fpga/vpitest1/vip/build'                            
make  -f CMakeFiles/vpi.vpi.dir/build.make CMakeFiles/vpi.vpi.dir/depend         
make[2]: Entering directory '/home/r2com/projects/fpga/vpitest1/vip/build'                                                                                                                                                                                                                                                                                                              
cd /home/r2com/projects/fpga/vpitest1/vip/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/r2com/projects/fpga/vpitest1/vip /home/r2com/projects/fpga/vpitest1/vip /home/r2com/projects/fpga/vpitest1/vip/build /home/r2com/projects/fpga/vpitest1/vip/build /home/r2com/projects/fpga/vpitest1/vip/build/CMakeFiles/vpi.vpi.dir/DependInfo.cmake --color=
make[2]: Leaving directory '/home/r2com/projects/fpga/vpitest1/vip/build'
make  -f CMakeFiles/vpi.vpi.dir/build.make CMakeFiles/vpi.vpi.dir/build  
make[2]: Entering directory '/home/r2com/projects/fpga/vpitest1/vip/build'
[ 50%] Linking C executable vpi.vpi                                       
/usr/bin/cmake -E cmake_link_script CMakeFiles/vpi.vpi.dir/link.txt --verbose=1
/usr/bin/cc  -fPIC -rdynamic CMakeFiles/vpi.vpi.dir/test.c.o -o vpi.vpi  -lghdl 
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/12/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'                         
/usr/bin/ld: CMakeFiles/vpi.vpi.dir/test.c.o: in function `vpi_clk_proc':  
test.c:(.text+0x25): undefined reference to `vpi_get_value'                
/usr/bin/ld: test.c:(.text+0x66): undefined reference to `vpi_get_value'       
/usr/bin/ld: test.c:(.text+0x10b): undefined reference to `vpi_put_value'
/usr/bin/ld: test.c:(.text+0x13a): undefined reference to `vpi_put_value'
/usr/bin/ld: test.c:(.text+0x16e): undefined reference to `vpi_put_value'
/usr/bin/ld: test.c:(.text+0x19d): undefined reference to `vpi_put_value'          
/usr/bin/ld: test.c:(.text+0x1f6): undefined reference to `vpi_put_value' 
/usr/bin/ld: CMakeFiles/vpi.vpi.dir/test.c.o: in function `vpi_start_proc':
test.c:(.text+0x292): undefined reference to `vpi_handle_by_name'
/usr/bin/ld: test.c:(.text+0x33e): undefined reference to `vpi_register_cb'
/usr/bin/ld: test.c:(.text+0x357): undefined reference to `vpi_printf'
/usr/bin/ld: CMakeFiles/vpi.vpi.dir/test.c.o: in function `my_handle_register':
test.c:(.text+0x390): undefined reference to `vpi_register_cb'
/usr/bin/ld: test.c:(.text+0x3a9): undefined reference to `vpi_printf'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/vpi.vpi.dir/build.make:97: vpi.vpi] Error 1
make[2]: Leaving directory '/home/r2com/projects/fpga/vpitest1/vip/build'
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/vpi.vpi.dir/all] Error 2
make[1]: Leaving directory '/home/r2com/projects/fpga/vpitest1/vip/build'
make: *** [Makefile:91: all] Error 2
r2com@eda1:~/projects/fpga/vpitest1/vip/build$ 
Editor is loading...