Hi
I'm working on getting BFS into my vibrant kernel and I keep getting this error when I try to compile
kernel/sched_bfs.c:7030: error: 'struct signal_struct' has no member named 'prev_stime'
kernel/sched_bfs.c:7029: error: 'struct signal_struct' has no member named 'prev_utime'
I've been trying to find the source of the issue, does anyone have any ideas? Possibly some nudge in the right direction to fixing it?
thanks
ECOTOX
its been a long time since ive done any c programming but i can tell you that for some reason the structure being referenced does not contain the field that the code is asking for. you can goto lines 7030 and 7029 and see what is trying to be done to those fields in the struct. if its something simple like setting those values then it would be easy to add those fields to the structure. you would have to determine what type they would need to be and where the original struct is found in source.
also, what is BFS? could this be a version issue?
i really dont know why this is happening but i can at least tell you what is happening if that helps at all...
killersnowman said:
its been a long time since ive done any c programming but i can tell you that for some reason the structure being referenced does not contain the field that the code is asking for. you can goto lines 7030 and 7029 and see what is trying to be done to those fields in the struct. if its something simple like setting those values then it would be easy to add those fields to the structure. you would have to determine what type they would need to be and where the original struct is found in source.
also, what is BFS? could this be a version issue?
i really dont know why this is happening but i can at least tell you what is happening if that helps at all...
Click to expand...
Click to collapse
Well I looked there and it all looks good (I know a decent amount of C myself). The problem is finding where it is originating fro
thanks alot for the attempt at helping =] btw BFS is a cpu scheduler
Related
Hi all,
I'm looking for a very simple program which will read GPS coordinates from my bluetooth GPS receiver and use a GET or FORM request to upload them to a website, i.e.
www.website.com/gps.php?n=000.000&w=000.000
Does such a program exist? I've had a look around here and on Google and can't find anything.
If not, I would be willing to have a go at making it. In this instance, does anyone have any pointers for reading the data from the Com port?
Thanks
Oliy
Try the search next time
here: http://forum.xda-developers.com/vie...=0&postorder=asc&highlight=http+post&start=50
Oliy said:
I've had a look around here and on Google and can't find anything.
Click to expand...
Click to collapse
Thanks for the link, however all the solutions in there are far more complex than what I want, or limited to me making an account on someone else's server.
Is there just a really simple app to do this? Or could anyone provide source code of getting the GPS coordinates, and I could make the rest of the program from there.
Cheers
Oliy: it's a little more involved then just reading the com port. What kind of experience do you have? You have to do quite a bit of token and string parsing. Have a read of the GPS protocols:
http://vancouver-webpages.com/peter/
V
Hi Vijay,
Thanks for the link. String and token parsing is fine. I have plenty of experience in core operations of programming languages, it's when you get into hardware specific things that I have very little experience.
I don't have a whole lot of time to program at the moment, I start my internship on monday and I have work on my own little OmapScaler project building up as well, but I've found a guy on this forum who seems to have the same ideas as me, I've PMd him and will hopefully get a reply soon.
Oliy
trying to figure this out. I'm writing in xml and am wanting this:
when clicking on filepath for lets say <OnClick File="\windows\tmail.exe" /> I want the path to go to the sms part of tmail.exe and not to the last account accessed. I was told it was something like putting a -service after the quotes maybe? I was also told here on xda is a list of specific lines for exes. anyone know the thread or link? any help would be greatly appreciated.
http://forum.xda-developers.com/showthread.php?t=317614&highlight=outlook
thanx
thanx a million. exactly what I was looking for. believe me I did search and search with no avail. do you know of a list of parameters? I want the same for several commands including something that will auto dial vmail when clicked. not sure if possible. thanx again bud.
try askign the guy who gave the parameters i dont know them on the top of my head
Im just making my first program, and throwing myself in teh deep end, with no experience whatsoever. But its great fun [when not frustrating]
Im using c# and VS2005 professional edition, and ive basically created my user interface, with 3 numericupdown boxes, i want to out put those values into a text file for another file to read.
All methods from the internet havent worked, and give random errors, possibly because of my lack of experience, and i have no idea where to put them, but i think ive been doing it right. And i have searched here aswell, but it seems that its more where people post programs rather then beign about development.
If you can help, but need more information please pm me, its just that id rather not share the whole infomation with everyone [not that i dont trust you]
Thanks to you all
Rory
File management is in System.IO. In there, you have the File class.
There are a bunch of HowTo's there. One of them explains how to write to a file.
What errors are you seeing?
thanks so much..
Finally solved my problem, and my msdn library doesnt have that in it.. hmm
Might be back soon with more problems
lol
Thanks
Rory
x
I am looking for some help anyone that is familiar with php and xpath please email me, I have a couple of questions.
I am trying to complete a web based app for WINMO
Metaplane
dhpcnc at gmail
Here is my problem
Here is part of the xml file.
-
<forecast_conditions>
<day_of_week data="Fri"/>
<low data="59"/>
<high data="89"/>
<icon data="/ig/images/weather/sunny.gif"/>
<condition data="Sunny"/>
</forecast_conditions>
-
<forecast_conditions>
<day_of_week data="Sat"/>
<low data="47"/>
<high data="71"/>
<icon data="/ig/images/weather/sunny.gif"/>
<condition data="Sunny"/>
</forecast_conditions>
I want to only display the /condition (<condition data="Sunny"/>) for a given day, such as /forecast_conditions/day_of_week[data="Fri"], what would the proper xpath statement be for that?
I know this is the apps thread, but all you super geeks hang out here and I know several of you guys are xml experts, LOL. Yes, I'm still learning but hey at least I know when to throw up my hands and ask for help.
Come on...
I can't believe out of 49 views that no one knows how to do this, LOL. Or maybe its just that no one wants to take the time, but thanks anyhow.
If you want just the data attribute from the condition element the proper xpath statement would be:
/forecast_conditions[day_of_week/@data="Sat"]/condition/@data
or drop the /@data at the end if you want the whole element.
I did not test this so I'm not making any guarantees. Try it out.
Thanks MooGoo
/forecast_conditions[day_of_week/@data="Sat"] worked
So i coded a while ago in python to make a little project with selenium drivers
what if i want an android app that if i put in the username and password, it will put that in the website and login retrieve a string and print that on the screen without opening a browser? and seeing all of that? it that effecient to do with selenium? i want something i can use in android studio so that i can put in and retrieve information from web pages from and to and variable...
how would i do this?
thanks in advance! :
asimo_1 said:
So i coded a while ago in python to make a little project with selenium drivers
what if i want an android app that if i put in the username and password, it will put that in the website and login retrieve a string and print that on the screen without opening a browser? and seeing all of that? it that effecient to do with selenium? i want something i can use in android studio so that i can put in and retrieve information from web pages from and to and variable...
how would i do this?
thanks in advance! :
Click to expand...
Click to collapse
Hey,
my first idea to this Problem would be old plain manual parsing. So you would have to reverse engineer the structure of the requests the website needs. Then you can submit 6our values and must be able to get the values out of the http Response.
Greetings from Germany
P.S. Not many people look in this forum for help. So maybe you get not much help here. Sorry.
P.P.S. I never worked with Selenium, so I'm unsure if you can use it directly in Android Apps
pbeckmann said:
Hey,
my first idea to this Problem would be old plain manual parsing. So you would have to reverse engineer the structure of the requests the website needs. Then you can submit 6our values and must be able to get the values out of the http Response.
Greetings from Germany
P.S. Not many people look in this forum for help. So maybe you get not much help here. Sorry.
P.P.S. I never worked with Selenium, so I'm unsure if you can use it directly in Android Apps
Click to expand...
Click to collapse
Thank you very much!