LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-15-2008, 01:39 AM   #1
sshyam17
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 \
CFLAGS="-DWIN32 -DUSE_NETBIOS" LFLAGS="" \
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

using

chmod +x
chmod a+x

didnot work

Please provide any input

thanx
shyam
 
Old 04-17-2008, 08:32 PM   #2
kryptobs2000
Member
 
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.
 
  


Reply


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 01:29 PM
Cross compiling utftpd on arm linux SachinTCS Linux - Software 1 04-13-2007 10:03 PM
Cross compiling utftpd on x86 for arm SachinTCS Linux - Software 1 04-13-2007 09:50 PM
Cross compiling utftpd for arm SachinTCS Linux - Desktop 1 04-13-2007 02:11 AM
cross compiling packages like PWLIB for ARM Anurag_Arjun Programming 0 01-18-2006 12:16 AM


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

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