On Mon, Oct 15, 2012 at 10:41 AM, John Long wrote:
> On Mon, Oct 15, 2012 at 09:48:57AM -0500, Chris Bennett wrote:
>> On Mon, Oct 15, 2012 at 09:31:34AM -0500, Chris Bennett wrote:
>> > I have added this:
>> >
>> > section .note.openbsd.ident
>> > align 2
>> > dd 8
>> > dd 4
>> > dd 1
>> > d
On Mon, Oct 15, 2012 at 09:48:57AM -0500, Chris Bennett wrote:
> On Mon, Oct 15, 2012 at 09:31:34AM -0500, Chris Bennett wrote:
> > I have added this:
> >
> > section .note.openbsd.ident
> > align 2
> > dd 8
> > dd 4
> > dd 1
> > db 'OpenBSD',0
> > dd 0
> > align 2
> >
> > But get error:
On Mon, Oct 15, 2012 at 09:31:34AM -0500, Chris Bennett wrote:
> I have added this:
>
> section .note.openbsd.ident
> align 2
> dd 8
> dd 4
> dd 1
> db 'OpenBSD',0
> dd 0
> align 2
>
> But get error:
>
> sfhello.asm:1: error: segment name `.note.openbsd.ident' not recognized
>
This doe
I have added this:
section .note.openbsd.ident
align 2
dd 8
dd 4
dd 1
db 'OpenBSD',0
dd 0
align 2
But get error:
sfhello.asm:1: error: segment name `.note.openbsd.ident' not recognized
On Mon, Oct 15, 2012 at 11:44:17AM +, Stuart Henderson wrote:
> On 2012-10-13, Chris Bennett wrote:
> > I am getting errors with nasm.
> >
> > # nasm -f aoutb hello.asm
> > # ld -e _start -o hello hello.o
> > ld: warning: cannot find entry symbol _start; defaulting to 1c000114
> > # ./
On Mon, 15 Oct 2012, Chris Bennett wrote:
> I went and tried files I had produced many months ago and I get same error!
>
> ./cat[1]: syntax error: `(' unexpected
>
> I don't think the problem is with nasm, but something else?
For some reason the kernel does not think it is a valid executable - ca
On 2012-10-13, Chris Bennett wrote:
> I am getting errors with nasm.
>
> # nasm -f aoutb hello.asm
> # ld -e _start -o hello hello.o
> ld: warning: cannot find entry symbol _start; defaulting to 1c000114
> # ./hello
> ./hello[1]: syntax error: `(' unexpected
>
> or
Chris Bennett wrote:
> I went and tried files I had produced many months ago and I get same
> error!
>
> ./cat[1]: syntax error: `(' unexpected
>
> I don't think the problem is with nasm, but something else?
>
> Chris Bennett
Is it possible you somehow mixed up i386/amd64 libraries/binaries ?
On Mon, Oct 15, 2012 at 1:41 AM, Chris Bennett
wrote:
> On Sat, Oct 13, 2012 at 02:29:49PM -0500, Chris Bennett wrote:
>> I am getting errors with nasm.
>>
>> # nasm -f aoutb hello.asm
>> # ld -e _start -o hello hello.o
>> ld: warning: cannot find entry symbol _start; defaulting to 1c000114
>> # .
I went and tried files I had produced many months ago and I get same error!
./cat[1]: syntax error: `(' unexpected
I don't think the problem is with nasm, but something else?
Chris Bennett
On Sat, Oct 13, 2012 at 02:29:49PM -0500, Chris Bennett wrote:
> I am getting errors with nasm.
>
> # nasm -f aoutb hello.asm
> # ld -e _start -o hello hello.o
> ld: warning: cannot find entry symbol _start; defaulting to 1c000114
> # ./hello
> ./hello[1]: syntax err
I am getting errors with nasm.
# nasm -f aoutb hello.asm
# ld -e _start -o hello hello.o
ld: warning: cannot find entry symbol _start; defaulting to 1c000114
# ./hello
./hello[1]: syntax error: `(' unexpected
or
# nasm -f aout hello.asm
# ld -s -o hello hello.
12 matches
Mail list logo