Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-15-2008, 02:39 AM   #1
LQ Newbie
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
errors while compiling netio on arm

i am trying to use netio on arm
errors are:
make all CC="gcc -O -s" O=.o X=.exe \
LIBS="-lwsock32 -lnetapi32" OUT=-o
make[1]: Entering directory `/home/shyam/netio'
gcc -O -s -o netio.exe netio.o netbios.o getopt.o -lwsock32 -lnetapi32
/usr/bin/ld: netio.o: Relocations in generic ELF (EM: 40)
netio.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[1]: *** [netio.exe] Error 1
make[1]: Leaving directory `/home/shyam/netio'
make: *** [win32] Error 2

If i give command "make linux"
it compiles but not able to use binary.It throws following error

[netio]$ ./netio -s
-bash: ./netio: cannot execute binary file
[netio]$ chmod a+x netio
[netio]$ ./netio -- help
-bash: ./netio: cannot execute binary file

I tried changing permissions of netio


chmod +x
chmod a+x

didnot work

Please provide any input

Old 04-17-2008, 09:32 PM   #2
Registered: Dec 2003
Distribution: Slackware
Posts: 306

Rep: Reputation: 30
Is there any kind of log file? That should provide more information on the problem.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross compiling Bluez-utils for ARM deshu Linux - Software 1 03-06-2009 02:29 PM
Cross compiling utftpd on arm linux SachinTCS Linux - Software 1 04-13-2007 11:03 PM
Cross compiling utftpd on x86 for arm SachinTCS Linux - Software 1 04-13-2007 10:50 PM
Cross compiling utftpd for arm SachinTCS Linux - Desktop 1 04-13-2007 03:11 AM
cross compiling packages like PWLIB for ARM Anurag_Arjun Programming 0 01-18-2006 01:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration