Comments (7)
Hello,
I got the problem and found a solution by replacing $(PWD)
by $(shell pwd)
in the src/Makefile. Hope that helps ;)
from fl2000.
Hi Elvynia
I changed in the src/Makefile from
valerio@tron:~/Downloads/FL2000-master/src$ sudo make
make -C /usr/src/linux-headers-4.4.0-116-generic M= modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-116-generic'
make[2]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', needed by 'arch/x86/entry/syscalls/../../include/generated/asm/syscalls_32.h'. Stop.
arch/x86/Makefile:207: recipe for target 'archheaders' failed
make[1]: *** [archheaders] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-116-generic'
Makefile:46: recipe for target 'all' failed
make: *** [all] Error 2
Thank you.
from fl2000.
It's not only the case of pwd
, you have to add shell
to execute it as a command -> $(shell pwd)
from fl2000.
Hi Elvynia,
Thanks to try help me.
When I try to execute "make" statement using your tip, I got the message:
valerio@tron:/Downloads/FL2000-master/src$ sudo make/Downloads/FL2000-master/src$
[sudo] password for valerio:
make -C /usr/src/linux-headers-4.4.0-116-generic M=/home/valerio/Downloads/FL2000-master/src modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-116-generic'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-116-generic'
valerio@tron:
My MakeFile is:
fl2000-y := fl2000_module.o
fl2000-y += fl2000_bulk.o
fl2000-y += fl2000_ioctl.o
fl2000-y += fl2000_render.o
fl2000-y += fl2000_dev.o
fl2000-y += fl2000_dongle.o
fl2000-y += fl2000_big_table.o
fl2000-y += fl2000_i2c.o
fl2000-y += fl2000_register.o
fl2000-y += fl2000_monitor.o
fl2000-y += fl2000_desc.o
fl2000-y += fl2000_interrupt.o
fl2000-y += fl2000_compression.o
fl2000-y += fl2000_surface.o
fl2000-y += fl2000_fops.o
fl2000-y += fl2000_hdmi.o
ifdef CONFIG_USB_FL2000
obj-$(CONFIG_USB_FL2000) := fl2000.o
else
obj-m := fl2000.o
#KERNEL_PATH = ../../../kernel/linux-3.10.0-327.13.1.el7
#KERNEL_PATH = /usr/src/kernels/3.10.0-327.13.1.el7.x86_64
#KERNEL_PATH = /usr/src/kernels/uname -r
#KERNEL_PATH = /usr/src/linux-headers-uname -r
KERNEL_PATH = /usr/src/linux-headers-4.4.0-116-generic
all:
make -C
clean:
make -C
rm -f Module.symvers
endif
Thank you.
Valerio
from fl2000.
Don't use sudo with make that may cause problems.
Are you sure there is no fl2000.ko on the directory? It looks like it's compiling just fine.
from fl2000.
Hi CanNuhlar.
I tried without sudo....
root@tron:/home/valerio/Downloads/FL2000-master/src# make
make -C /usr/src/linux-headers-4.4.0-116-generic M=/home/valerio/Downloads/FL2000-master/src modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.0-116-generic'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-116-generic'
root@tron:/home/valerio/Downloads/FL2000-master/src#
But I got the same message
Thank you
from fl2000.
It is already compiled check for fl2000.ko file on your directory. Just run sudo insmod fl2000.ko
then run dmesg
. You shoud see a line that says usbcore: registered new interface driver fl2000
from fl2000.
Related Issues (20)
- Successfully made FLTEST 0, but no Virtual Display is being shown in Ubuntu Settings HOT 2
- Please open source of the fl2000 driver for MacOS. HOT 1
- compilation issue
- Doesn't work in Kernel 5+... Anyone got any Luck there? HOT 5
- insmod: ERROR: could not insert module fl2000.ko: Invalid module format HOT 2
- sometimes I have panic
- i got this, anybody can help, please? HOT 5
- Could not rotate display on MacOS Monterey HOT 3
- Kernel panic after install driver RHEL 7.6 HOT 2
- fl2000 device not connected? HOT 1
- Error Make
- any functional working driver? HOT 4
- Fresco Logic FL2000 make error : can't find file Kconfig .in ubuntu 22.04 LTS ,linux-headers-5.15.72-flippy-77+o
- Ventura Drivers HOT 1
- fl2000_daemon: xpc_msg_frame_update: no surface available? HOT 1
- Faild compile linux-headers-6.2.0-20-generic HOT 2
- How to fix the file fl2000_surface.c after use command make in 5.19.0-46-generic HOT 2
- No framebuffer in the FL2000DX
- Error with make HOT 2
- USB/HDMI adapter detected only as audio adapter
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 fl2000.