This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fed up with div_t


Hi everybody,

Once again, I must change my template.
So I did a new one with a linux synthetic template and a minimal list of
packages.

Here is my list if it can help :
	- Common error code
	- Dynamic memory alloc
	- I/O sub-system
	- ISO C and POSIX infrastructure
	- Infrastructure
	- Linux synthetic target
	- Linux/i386 synthetic target
	- Synthetic FLASH memory
	- Synthetic target ethernet driver
	- Watchdog driver for synthetic target
	- eCos common HAL
	- eCos kernel

I want to use div() and div_t so I select " div()/ldiv() implementation
header " in
"ISO C and POSIX infrastructure -> Standard general functions"

I tried without filling the header (so it stay filling with 0 (zero)) :
logically it doesn't work...
I fill the header with <stdlib.h> in a second time beause it's the only
header file with a definition
of div_t in my directory "final_linux_install" ...

But it doesn't work too : it told me " div_t undeclared "

And also " va_list undeclared " (my second problem) ...

Any ideas ?

Thanks a lot for this help !

Best regards.

Matthieu

PS : it was working before because I used, in order to start, a complete
template (linux synthetic target too 
but with all packages !); so my codes might be corrects. Now it's time for
me to optimize my template and for this I need you ... please help ... ;-)

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]