Coder Social home page Coder Social logo

dri3wsegl's People

Contributors

gatecat avatar tomba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dri3wsegl's Issues

error: implicit declaration of function ‘init_timer’

Hi,

while doing:
~/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/build/linux2/omap_linux$ make -j4 $*
I got:
CC [M] /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/proc.o /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c: In function ‘OSAddTimer’: /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:2890:5: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration] init_timer(&psTimerCBData->sTimer); ^~~~~~~~~~ init_timers /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:2895:26: error: ‘struct timer_list’ has no member named ‘data’ psTimerCBData->sTimer.data = (IMG_UINTPTR_T)psTimerCBData; ^ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:305: /home/me/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1 make[3]: *** Waiting for unfinished jobs....

I'm using gcc-8.2.0 natively.

cast between incompatible function types

Linux-4.14.74, gcc-8.2, native build:
CC [M] /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o In file included from ./include/linux/workqueue.h:9, from ./include/linux/srcu.h:34, from ./include/linux/notifier.h:16, from ./include/linux/memory_hotplug.h:7, from ./include/linux/mmzone.h:781, from ./include/linux/gfp.h:6, from ./include/linux/mm.h:10, from ./arch/arm/include/asm/cacheflush.h:13, from /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:55: ./include/linux/timer.h: In function ‘timer_setup’: ./include/linux/timer.h:179:23: error: cast between incompatible function types from ‘void (*)(struct timer_list *)’ to ‘void (*)(long unsigned int)’ [-Werror=cast-function-type] __setup_timer(timer, (TIMER_FUNC_TYPE)callback, ^ ./include/linux/timer.h:144:25: note: in definition of macro ‘__setup_timer’ (_timer)->function = (_fn); \ ^~~ /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c: In function ‘OSEventObjectCreateKM’: /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c:3051:13: error: ‘strncpy’ specified bound 50 equals destination size [-Werror=stringop-truncation] strncpy(psEventObject->szName, pszName, EVENTOBJNAME_MAXLENGTH); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:329: /home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1 make[2]: *** [Makefile:1527: _module_/home/def/omap5-sgx-ddk-linux/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild] Error 2 make[1]: *** [eurasiacon/build/linux2/kbuild/kbuild.mk:56: kbuild] Error 2 make: *** [../config/core.mk:679: build] Error 2

Support for DDK 1.17?

Would it be possible to support the newer/latest DDK 1.17?

We (Maemo Leste) are looking to support the Nokia N900, Motorola Droid 4 and (many) other OMAP4 devices with this latest drop. Our various phones use different DDK's - some really old, some relatively recent, but we'd really like to use the same (and latest) on all devices.

The openpvrsgx-devgroup are maintaining the kernel side(s) for the DDK's on top of mainline: https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/

And people have reported having success with the DDK, to at least get kmscube rendering (on the Motorola Droid 4 for example, with Linux 5.9.1).

We're interested in getting X11 support going, but it looks like the recent DDK 1.17 removed support for X at all - requiring more than dri3wsegl. Does anyone here have a good view of what would need to be implemented/written to get to that point? Me and others are happy to contribute time and write (C) code to get this going, but lack some of the higher level pictures.

cc @daveshah1 - since I saw you were also interested in doing this here: #5 (comment)

/bin/sh: dostextfile: No such file or directory

Hi,

I followed the instructions, I'm in:
~/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/build/linux2/omap5430_linux

But I got:
CC [M] /home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o /bin/sh: dostextfile: No such file or directory make[3]: *** [scripts/Makefile.build:306: /home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.o] Error 1 rm /home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/services4/srvkm/env/linux/osfunc.c make[2]: *** [Makefile:1515: _module_/home/me/ti-img-sgx/1.14.3699939/k4.14/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild] Error 2 make[1]: *** [eurasiacon/build/linux2/kbuild/kbuild.mk:56: kbuild] Error 2 make: *** [../config/core.mk:613: build] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.