Opened 11 years ago

Closed 11 years ago

#2487 closed enhancement (invalid)

problem with compiling a kernel module using apilib functions

Reported by: madi Owned by:
Priority: Please fill in Component: ! Please select...
Severity: Please fill in Keywords:
Cc: Sensitive: no

Description

i am actually developping a video driver as a kernel module using functions defined in "stvid.h" (such as STVID_CloseViewPort() and others) but while cross-compiling my module i couldn't link the apilib. could you please help me. this is my makefile:
KERN_SRC=/opt/STM/STLinux-2.3/devkit/sources/kernel/linux-sh4
obj-m := video.o
CROSS_COMPILE := sh4-linux-

all:

$(MAKE) -I/opt/STM/STAPI_SDK/apilib/include/ -L/opt/STM/STAPI_SDK/apilib/lib -C $(KERN_SRC) ARCH=sh CROSS_COMPILE=$(CROSS_COMPILE) M=pwd modules

clean:

$(MAKE) -I/opt/STM/STAPI_SDK/apilib/include/ -L/opt/STM/STAPI_SDK/apilib/lib -C $(KERN_SRC) ARCH=sh CROSS_COMPILE=$(CROSS_COMPILE) M=pwd clean


Change History (1)

comment:1 by Deas, 11 years ago

Resolution: invalid
Status: newclosed

this has nothing to to with oscam!

Note: See TracTickets for help on using tickets.