LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2005, 01:13 AM   #1
sovietpower
Member
 
Registered: Jun 2003
Distribution: Slackware64 14.1 and -current
Posts: 209

Rep: Reputation: 30
TightVNC, Slack10, Compiling Errors


I have a slack10 box that had TightVNC installed but I had to reinstall Slack 10. It was setup to be accessible by VNC and SSH. I have restored my SSH capability but TightVNC refuses to compile correctly from source. I know thats how I did it last time as there are no slack packages for it. It I do what is required as followed

xmkmf

that works

next

make World

this is where I get the errors

gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [vncauth.o] Error 1
make[2]: Leaving directory `/home/baked/vnc_unixsrc/libvncauth'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/baked/vnc_unixsrc'
make: *** [World] Error 2

I had it working before can anyone help me with this???
 
Old 02-16-2005, 09:02 AM   #2
kdegraaf
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
This is a bug with imake (xmkmf). The symbol DefaultGcc2i386Opt is supposed to be translated to a series of options before compilation. If xmkmf ignores it and it's not translated, gcc thinks it's being asked to compile two files at once, hence the error.

One workaround is to add the following to /usr/X11R6/lib/X11/config/linux.cf:

Code:
#ifndef DefaultGcc2i386Opt
#  define DefaultGcc2i386Opt -O3
#endif
 
  


Reply



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
Multible newbie questions (pppd, ext2 vs ext3, and random inode read errors) (Slack10 Nicolae Slackware 8 08-28-2004 04:51 PM
Various Compiling Errors (GCC compiling Openal, GUIlib, xmms-wma) gregorya Linux - Software 2 08-27-2004 05:03 AM
Errors when compiling anything! adizzle Linux - Newbie 4 06-16-2004 05:27 PM
compiling errors degraffenried13 Linux - General 1 04-04-2004 01:54 PM
Errors compiling 2.6.0 plisken Linux - General 3 10-10-2003 05:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:38 AM.

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
Open Source Consulting | Domain Registration