OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 18, 2024 6:36 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:21 am 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
affortunately for you the directory is exactly as i have. i will try to do it

Thanks!


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:32 am 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
ok, nothing changes, still making the same multiple and undefined references to the same functoins


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:39 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 15, 2018 2:27 pm
Posts: 201
I really don't know now. I've unpacked the file I've uploaded and it just works for me. What is the exact output of build.sh command? BTW. I use GCC version 7.3.0, LD version 2.30, NASM version 2.13.02 on Ubuntu 18.04 64-bit. Maybe you could try adding -nostdinc for every GCC call and -nostdlib for LD call. If that does not work… I have no idea.


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:44 am 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
nope.not working. ld still bringing the same undefined and multiple definitions of the same funtions. i don't know why this happens


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:47 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 15, 2018 2:27 pm
Posts: 201
And does 'my' makefile version work for you?


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:49 am 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
no. when you passed me the file for first time, i tried to do it with the makefile, and it was even worst.but if i compile without implementing it in my OS it works


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:51 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 15, 2018 2:27 pm
Posts: 201
What host OS do you use? My last try will be installing what you have in a VM and try myself.


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 9:52 am 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
i use linux mint 18.3


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 11:46 am 
Offline
Member
Member
User avatar

Joined: Mon Jan 15, 2018 2:27 pm
Posts: 201
I think there is something wrong with your toolchain. I've made a fresh install of Mint 18.3 and updated it. Both archives compile and run perfectly fine for me.


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 11:51 am 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
then i will update nasm gcc and LD, i hope that to work


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 12:12 pm 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
not working even with updating


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 12:16 pm 
Offline
Member
Member
User avatar

Joined: Fri Oct 27, 2006 9:42 am
Posts: 1925
Location: Athens, GA, USA
alberinfo wrote:
no, i dont have github or other types of repo


OK, I really, really recommend that you drop everything until you have all your code under version control. Seriously, as I have said to others here, programming without version control is like skydiving without a parachute.

I don't care which one you use, but please, use something, for your own sake.

Even if you don't set up a copy of it a hosted repo - and there are few if any reasons not to, as most hosting services are free for open source projects - at the very least have it under a local repository. You will come to regret it if you don't - I would hazard a guess that every older member here, from the days when free VCS wasn't common, could tell you their horror stories about that. I certainly recall several instances where I lost weeks of work because of either a disk failure or a careless move on my part.

Regarding the toolchain, have you set up a GCC Cross-Compiler, or are you using the default toolchain installed with your Mint VM?

_________________
Rev. First Speaker Schol-R-LEA;2 LCF ELF JAM POEE KoR KCO PPWMTF
Ordo OS Project
Lisp programmers tend to seem very odd to outsiders, just like anyone else who has had a religious experience they can't quite explain to others.


Last edited by Schol-R-LEA on Sat Sep 15, 2018 12:20 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 12:17 pm 
Offline
Member
Member
User avatar

Joined: Mon Jan 15, 2018 2:27 pm
Posts: 201
Sorry, but I am out of ideas :(


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 12:19 pm 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
as i installed all that i need, i started to use. so i don't have set up a cross compiler

pvc, don't worry, i think i'll find the solution if i keep trying :)


Top
 Profile  
 
 Post subject: Re: x86 asm bios interrupts in C
PostPosted: Sat Sep 15, 2018 12:22 pm 
Offline
Member
Member

Joined: Wed Aug 29, 2018 4:42 pm
Posts: 122
ok. i will try to create a repo in github.

There it is
https://github.com/alberinfo/Slidoor-OS


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 77 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 203 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group